electro-smith / libDaisy

Hardware Library for the Daisy Audio Platform
https://www.electro-smith.com/daisy
MIT License
312 stars 131 forks source link

RTTI should also be disabled on the core Makefile #503

Closed ifranco closed 2 years ago

ifranco commented 2 years ago

RTTI should be disabled on the core Makefile:

CPPFLAGS += \
-fno-exceptions \
-fasm \
-finline \
-finline-functions-called-once \
-fshort-enums \
-fno-move-loop-invariants \
-fno-unwind-tables \
-fno-rtti \
-Wno-register

Discovered when trying to override virtual functions on a user program.

ifranco commented 2 years ago

I just wanted to add that this is a significant issue since the UI system depends heavily on overriding.