I\'m trying to compile using g++ and either the -std=c++11 or c++0x flags.
g++
-std=c++11
c++0x
However, I get this error
cc1plus:
Seeing from your G++ version, you need to update it badly. C++11 has only been available since G++ 4.3. The most recent version is 4.7.
In versions pre-G++ 4.7, you'll have to use -std=c++0x, for more recent versions you can use -std=c++11.
-std=c++0x