jeudi 24 novembre 2016

C++ compiling error in make file

I am using g++ version 4.8.5. I am trying to compile my project using it. It compiles without a problem, when compiling directly from the terminal. But, when using a make file, it gives me following error, even though I am using the same option.

cc1plus: error: unrecognized command line option "-std=c++11"

What am I doing wrong here ?

Aucun commentaire:

Enregistrer un commentaire