Author Topic: Compiling error  (Read 11763 times)

Offline Pine

  • Single posting newcomer
  • *
  • Posts: 2
Compiling error
« 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.

zabzonk

  • Guest
Re: Compiling error
« Reply #1 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.

Offline Pine

  • Single posting newcomer
  • *
  • Posts: 2
Re: Compiling error
« Reply #2 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org