I was trying to compile a project that uses c and c++11 files, with clang as the compiler, and I'm getting
error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
Is there any easy way not to set this option for the c files?
edit: found a (less than optimal) solution: un-setting the c++11 option and editing the toolchain executables and adding -std=c++11 there just for the c++ compiler .