Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Compiler Framework Redesign => Topic started by: Kishor on November 20, 2013, 03:43:54 pm

Title: C++ compiler support on Code::Blocks 10.05.
Post by: Kishor on November 20, 2013, 03:43:54 pm
I am unable to compile c++11 programs on Code-Block 10.05 (Fedora 15).
How do I achieve to compile c++11 programs on code blocks 10.05. Please provide some
help here.

Thanks in Advance.
Title: Re: C++ compiler support on Code::Blocks 10.05.
Post by: BlueHazzard on November 20, 2013, 06:52:23 pm
1) 10.05 is realy outdated, i think you can find a newer version somewhere
2) Project-> Build Options->Compiler settings->Other options-> Add -std=c++11

ps. you need an gcc > 4.7 (i think...)

greetings
Title: Re: C++ compiler support on Code::Blocks 10.05.
Post by: TheRaven on January 26, 2015, 04:55:52 am
1) 10.05 is realy outdated, i think you can find a newer version somewhere
2) Project-> Build Options->Compiler settings->Other options-> Add -std=c++11

ps. you need an gcc > 4.7 (i think...)

greetings

Additionally, one could also consider using Clang/LLVM with Code::Blocks for native, complete support for C & C++ 11 specifications. Clang/LLVM sources are available if an RPM for it does not exist and compiled using GCC for the given distro and/or platform.