use -std=gnu++0x rather than -std=c++0x
The gcc default for C++ is -std=gnu++98, and -std=c++98 is used explicitly or with -ansi, so the C++0x "default" should be gnu++0x.
Showing
Please
register
or
sign in
to comment
The gcc default for C++ is -std=gnu++98, and -std=c++98 is used explicitly or with -ansi, so the C++0x "default" should be gnu++0x.