I am trying to create a project in C ++, but as it completes this error causes:
undefined reference to __cxa_end_cleanup'
The toolchain used is ARM GCC 4.7.3, and the custom linker flags are:
-mthumb -march=armv6-m -T .\Generated_Source\PSoC4\cm0gcc.ld -g -Wl,-Map,${OutputDir}\${ProjectShortName}.map -specs=nano.specs -Wl,--gc-sections
What is the common cause of the error above? And which link flags would resolve this error?
source share