Code::Blocks Forums

User forums => Help => Topic started by: Pine on December 23, 2012, 06:13:24 am

Title: Compiling error
Post by: Pine on December 23, 2012, 06:13:24 am
Hello Code::Blocks forum,

I've been getting this error ever since CB updated or what not.
Quote
c:\mingw32\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\c++0x_warning.h|32|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 hope you know how to fix it because you're all such bright people combined into a community.

Thanks,
Pine.
Title: Re: Compiling error
Post by: zabzonk on December 23, 2012, 11:36:33 am
Go to:

Project -> Build Options -> Compiler Settings

and make sure:

"Have g++ follow the C++11 Standard"

is checked.
Title: Re: Compiling error
Post by: Pine on December 25, 2012, 09:33:20 am
Alright, I did that, I rebuilt the whole project, still got that 1 error stated in the topic post.
Title: Re: Compiling error
Post by: stahta01 on December 25, 2012, 05:58:45 pm
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)