While trying to get one of the samples from FastLED to work, I ran into a compilation error when targeting Teensy 2.0, but not (for example) an Uno.
After some googling, I discovered that new.cpp for the Teensy (/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy/new.cpp) has those functions commented out. It seems that this is the only difference between this and the Arduino new.cpp, so I remove the comments, and the compilation succeeds.
Is this a bug, or where would those symbols normally be supplied from?
Code:
ledtest.cpp.o: In function `CLEDController* CFastLED::addLeds<(EClocklessChipsets)4, (unsigned char)3, (EOrder)10>(CRGB const*, int, int)':
/Users/stb/Documents/Arduino/libraries/FastLED/FastLED.h:120: undefined reference to `__cxa_guard_acquire'
/Users/stb/Documents/Arduino/libraries/FastLED/FastLED.h:120: undefined reference to `__cxa_guard_release'
After some googling, I discovered that new.cpp for the Teensy (/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy/new.cpp) has those functions commented out. It seems that this is the only difference between this and the Arduino new.cpp, so I remove the comments, and the compilation succeeds.
Is this a bug, or where would those symbols normally be supplied from?