I'm trying to build a C++ project however as it finishes it throws this error:
undefined reference to __cxa_end_cleanup'
The toolchain used is ARM GCC 4.7.3 and the Linker custom flags is:
-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 general reason for the error above? And what linker flags would solve this error?