8 years, 3 months ago.

warnings from offline compilation of mbed-dev code

Hi, I tried to compile mbed official/mbed-dev (https://developer.mbed.org/users/mbed_official/code/mbed-dev/) code offline in coocox coide ide. I exported this code as a program to the offline ide. But when I build the code, I got 2 same errors 100s of time. Errors are:

[cc] cc1.exe: warning: command line option '-std=gnu++98' is valid for C++/ObjC++ but not for C

[cc] cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C

[cc] cc1.exe: warning: command line option '-std=gnu++98' is valid for C++/ObjC++ but not for C

[cc] cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C

What could be the possible reason for this, and how can I solve it?

Thanks, Arjun

Be the first to answer this question.