Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move .C to .CPP in the core #5696

Merged
merged 3 commits into from
Feb 7, 2019
Merged

Move .C to .CPP in the core #5696

merged 3 commits into from
Feb 7, 2019

Conversation

earlephilhower
Copy link
Collaborator

Use g++ to compile core files to get additional C++ checks on the code.

Use g++ to compile core files to get additional C++ checks on the code.

Also move libb64 constants to PROGMEM, saving ~128 bytes of heap when used.
@earlephilhower earlephilhower changed the title WIP - Move .C to .CPP in the core Move .C to .CPP in the core Feb 6, 2019
@devyte devyte merged commit f706c83 into esp8266:master Feb 7, 2019
@earlephilhower earlephilhower deleted the tocpp branch February 7, 2019 04:34
@mhightower83
Copy link
Contributor

With the renaming of cores/esp8266/umm_malloc/umm_malloc.c to cores/esp8266/umm_malloc/umm_malloc.cpp I think you missed updating its entry in the linker file:

*.c.o( EXCLUDE_FILE (umm_malloc.c.o) .literal*, EXCLUDE_FILE (umm_malloc.c.o) .text* )
*.cpp.o(.literal*, .text*)

@earlephilhower
Copy link
Collaborator Author

Good eyes, @mhightower83 ! #6161 should fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants