mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Make exceptions off by default (#5538)
Scripts, makefiles, and users who do no changes will not have exceptions enabled during builds. This should avoid the sketch inflation issue for users who are space constrained, while allowing users who care about exceptions to enable them through the IDE.
This commit is contained in:
committed by
Develo
parent
95a5c5e60a
commit
2388102a97
@ -881,12 +881,12 @@ macros = {
|
||||
]),
|
||||
|
||||
'exception_menu': collections.OrderedDict([
|
||||
( '.menu.exception.enabled', 'Enabled' ),
|
||||
( '.menu.exception.enabled.build.exception_flags', '-fexceptions' ),
|
||||
( '.menu.exception.enabled.build.stdcpp_lib', '-lstdc++' ),
|
||||
( '.menu.exception.disabled', 'Disabled' ),
|
||||
( '.menu.exception.disabled.build.exception_flags', '-fno-exceptions' ),
|
||||
( '.menu.exception.disabled.build.stdcpp_lib', '-lstdc++-nox' ),
|
||||
( '.menu.exception.disabled.build.stdcpp_lib', '-lstdc++' ),
|
||||
( '.menu.exception.enabled', 'Enabled' ),
|
||||
( '.menu.exception.enabled.build.exception_flags', '-fexceptions' ),
|
||||
( '.menu.exception.enabled.build.stdcpp_lib', '-lstdc++-exc' ),
|
||||
]),
|
||||
|
||||
'crystalfreq_menu': collections.OrderedDict([
|
||||
|
Reference in New Issue
Block a user