Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Mars_999 on June 03, 2012, 05:02:44 am

Title: C++11 how to setup in CB?
Post by: Mars_999 on June 03, 2012, 05:02:44 am
Hello,
I am new to CB and would like to start using it vs. VC++2010, I can't find how to allow the keywords for C++11 e.g. nullptr in Codeblocks and MINGW.

Also is CB still in development? I don't see any activity on the main page, and wonder if it will be updated to support C++11 in the near future? I don't want to use something that has died off or has no support anymore.

Thanks!
Title: Re: C++11 how to setup in CB?
Post by: nanyu on June 03, 2012, 05:27:12 am
1) go there:
http://code.google.com/p/mingw-builds/downloads/list

2) download it.

3) run c::b
    mainmenu : Setting -> Compiler....
    make a copy from GNU gcc, rename it (GNU gcc 0x11)

Title: Re: C++11 how to setup in CB?
Post by: oBFusCATed on June 03, 2012, 10:50:25 am
Here is the real activity page: http://svn.berlios.de/wsvn/codeblocks/?op=log&rev=0&sc=0&isdir=1

About the c++11: What do you mean exactly? Support to compile c++11 code or for the code-completion?
Title: Re: C++11 how to setup in CB?
Post by: Mars_999 on June 03, 2012, 04:27:20 pm
Here is the real activity page: http://svn.berlios.de/wsvn/codeblocks/?op=log&rev=0&sc=0&isdir=1

About the c++11: What do you mean exactly? Support to compile c++11 code or for the code-completion?

Thanks for the link.

I mean both, compile code based on C++11, and syntax highlighting keywords.
Title: Re: C++11 how to setup in CB?
Post by: Freem on June 05, 2012, 10:34:53 pm
Actually, there is a thread named "nightly builds" on the forum, with links which contain binaries for windows far more recent than the stable release.

If you want a better code completion, I recommend you to use them.
Same for syntax highlighting.