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
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