Hi,
I am using Code::Blocks in CentOS, Ubuntu and openSUSE.
Some of my projects mixe C files and CPP files in the same project
Is there a way to specify -std=c++0x option only for g++ (CPP) and not gcc (CC)?
When building, I get these warnings:
warning: command line option "-std=c++0x" is valid for C++/ObjC++ but not for C
Because of the C files.
I cannot find in Google, may be there is a workaround like something like -Wno-(...) for avoiding the warning for C files but I cannot find also...
Someone could help?
Would it be a feature request for Code::Blocks : to apply this flag only for g++?
Thank you in advance,
Camilo