How to enable with the -std=c++0x when using code blocks?

Nov 18, 2010 at 5:57pm
When I trying to test the new feature of C++0X
The code blocks always come out this message


#error This file requires compiler and library support for the upcoming \
ISO C++ standard, C++0x. This support is currently experimental, and must be \
enabled with the -std=c++0x or -std=gnu++0x compiler options.
#endif

How could I "enabled with the -std=c++0x or -std=gnu++0x compiler options."?
Thanks a lot
Nov 18, 2010 at 6:13pm
Go to Project > Build Options,
select project configuration (debug or release or the main configuration),
click on "Compiler Fflags" tab,
check the "Have g++ follow the coming C++0x ISO C++ language standard" option
Nov 19, 2010 at 5:27am
Thank you very much
Topic archived. No new replies allowed.