I have some C++0x code. I was able to reproduce it below. The code below works fine without -std=c++0x however i need it for my real code.
-std=c++0x
How do i incl
add this preprocessor "_CRT_NONSTDC_NO_DEPRECATE" to Project Properties->C/C++ Build->GCC C++ Compiler->Preprocessor->Tool Settings
Don't forget to check Preprocessor Only(-E)
This worked for me on windows mingw32.