tomlau10 / gcc-make-run

Compile-run C/C++ source code and execute Makefile in Atom.
https://atom.io/packages/gcc-make-run
MIT License
24 stars 10 forks source link

Compiler Flag can be divided into two options ? #35

Open MeteorVE opened 6 years ago

MeteorVE commented 6 years ago

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.