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
-
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.
-
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
-
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.