The case is ...
I want to compiler .cpp file with g++ -Wall -std=c++11,
and I want to compiler .c file with just gcc.
When I insert -Wall -std=c++11 into Compiler Flag option,
it will compile .c file with -Wall -std=c++11 flag , too.
I don't know if it use g++ to compile my c file, but I know it will make some error.
The case is ... I want to compiler .cpp file with
g++ -Wall -std=c++11
, and I want to compiler .c file with justgcc
.When I insert
-Wall -std=c++11
intoCompiler Flag
option, it will compile .c file with-Wall -std=c++11
flag , too. I don't know if it use g++ to compile my c file, but I know it will make some error.