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

misplaced "-fexceptions" in platform.txt #262

Open
kritzikratzi opened this issue Dec 4, 2022 · 0 comments
Open

misplaced "-fexceptions" in platform.txt #262

kritzikratzi opened this issue Dec 4, 2022 · 0 comments

Comments

@kritzikratzi
Copy link

platform.txt wrongly disables and enables c++ exceptions.

see https://github.com/HelTecAutomation/CubeCell-Arduino/blob/master/platform.txt#L41

[...] -fno-exceptions -fexceptions  [...]

eliminating -fexceptions eliminates the __gxx_personality_v0 linker section, which frees up ~7kB of flash.

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

No branches or pull requests

1 participant