g++
및 -std=c++11
또는 c++0x
플래그를 사용하여 컴파일하려고합니다 .
그러나이 오류가 발생합니다.
cc1plus: error: unrecognized command line option "-std=c++11"
g ++-버전
g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-std=c++0x
++ g의