mardi 1 août 2017

cc1plus: error: unrecognized command line option "-std=c++11" with fully updated gcc/g++

I am aware that there are several related posts on this forum, but I'm still puzzled by this problem. I am using Redhat Linux. The gcc and g++ versions are -

gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
g++ (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)

Despite having the 4.8 version of gcc and g++, I receive the same error -

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

Is there some kind of additional configuration that is needed, apart from simply installing gcc/g++ 4.8 version?

Aucun commentaire:

Enregistrer un commentaire