I have a doubt, I have got a code which I have to compile it with C++2011 standard.
I dont know how to set that on my IDE, I'm using Codelite 5.3,does anyone know how to do it?
My error compiler is:
c:\mingw-4.7.1\bin\../lib/gcc/mingw32/4.7.1/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
I'm using Codelite 5.3,does anyone know how to do it?
With CodeLite you open the Settings for your project and add -std=c++11 to the C++ Compiler Options on either the Common Settings/Compiler or Global Settings tab. The first is build target specific (e.g. debug or release build); the second applies to all targets.