Hello Team,
I am seeing a linker error while building the code using C++ compiler "arm-none-eabi-g++"
Let me add little details, I have an existing project which has only C source files, but now I have created a new source file which is C++ based. Previously I used to build the code using "arm-none-eabi-gcc" C compiler, but after adding the new source file I have changed the compiler option to "arm-none-eabi-g++".
Surprisingly I am seeing many linker errors, adding one example error message here,
undefined reference to `sprintf(char*, char const*, ...)'
Even though sprintf was used in many source files, but this error shown in few source files.
I was able to build the code (before adding C++ source file) using "arm-none-eabi-gcc" option, but the error was seen only while building the code using "arm-none-eabi-g++" compiler command.
Can someone please let me know, what is going on here?
Regards,
San