Developer forums (C::B DEVELOPMENT STRICTLY!) > Compiler Framework Redesign

C++ compiler support on Code::Blocks 10.05.

(1/1)

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

BlueHazzard:
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

TheRaven:

--- Quote from: 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

--- End quote ---

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.

Navigation

[0] Message Index

Go to full version