Author Topic: C++11 how to setup in CB?  (Read 6681 times)

Offline Mars_999

  • Multiple posting newcomer
  • *
  • Posts: 11
C++11 how to setup in CB?
« 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!

Offline nanyu

  • Almost regular
  • **
  • Posts: 188
  • nanyu
Re: C++11 how to setup in CB?
« Reply #1 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)


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: C++11 how to setup in CB?
« Reply #2 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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Mars_999

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: C++11 how to setup in CB?
« Reply #3 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.

Offline Freem

  • Almost regular
  • **
  • Posts: 218
Re: C++11 how to setup in CB?
« Reply #4 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.