News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Compiling error

Started by Pine, December 23, 2012, 06:13:24 AM

Previous topic - Next topic

Pine

Hello Code::Blocks forum,

I've been getting this error ever since CB updated or what not.
Quotec:\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.

zabzonk

Go to:

Project -> Build Options -> Compiler Settings

and make sure:

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

is checked.

Pine

Alright, I did that, I rebuilt the whole project, still got that 1 error stated in the topic post.

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]