Hi,
I have some C++ code which can throw exceptions. When I build it in the Teensyduino IDE, I get this error:
I found instructions saying you could customise the compiler flags by creating platform.local.txt in the same directory that already contains platform.txt, using directives such as:
but I still get the same error.
Is it actually possible to enable exceptions, and if so, how do you do it?
Thanks!
Josh
I have some C++ code which can throw exceptions. When I build it in the Teensyduino IDE, I get this error:
error: exception handling disabled, use -fexceptions to enable
I found instructions saying you could customise the compiler flags by creating platform.local.txt in the same directory that already contains platform.txt, using directives such as:
Code:
compiler.cpp.extra_flags=-fexceptions
Is it actually possible to enable exceptions, and if so, how do you do it?
Thanks!
Josh