User forums > General (but related to Code::Blocks)

Code::block how to support C++0x

(1/4) > >>

hqt:
Code::Block newest version (I'm using newest version of Nightly Build) with Min GW Complier does not support C++0x. So, how can I update my complier, to use new feature of C++0x, who can tell me, please.

thanks :)

oBFusCATed:
Search for TDM GCC 4.6.1.

zabzonk:
Latest GCC version for Windows is available from TDM at http://tdm-gcc.tdragon.net - note that you have to enable the C++11 features with the -std=c++0x command line option, or from the Project Build Options|Compiler Settings tab from within Code::Blocks.

thomas:
Adding -std=gnu++0x -U__STRICT_ANSI__ to any MinGW version newer than 4.5 (though 4.6 is obviously preferrable) gives the fewest nasty surprises (i.e. for example C headers will not break).

hqt:
I go to [Settings] [Complier] in GNU GCC Complier, have option: having g++ follow the coming C++Ox ISO C++ language standard [-std=c++0x]. After I checked it, I stll cannot use C++0x feature.
And, I have installed TDM, but don't know how to integrate to Code::Block IDE.

So, who can help me, please.
thanks :)

Navigation

[0] Message Index

[#] Next page

Go to full version