Jump to content
  • Advertisement
Sign in to follow this  
MarkS

List of C++11 compliant compilers?

This topic is 1751 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm getting fed up with Visual Studio Express 2012. There are so many new language features that I can only look at in code samples.

 

Are there any *free* Windows-based C++11 compilers? What are some recommendations?

Share this post


Link to post
Share on other sites
Advertisement


else you can download last Qt package and just add the -std=c++ flag to project file options (you get the mingw 4.8.x package along with Qt IDE).

QFE.

 

QtCreator is one of the nicest of the non-Microsoft IDEs, and you get a shiny new C++0x-capable GCC, into the bargain.

Share this post


Link to post
Share on other sites

For GCC on Windows I would suggest:

 

http://tdm-gcc.tdragon.net/

 

Which is very easy to install. You have your choice of 32-bit only or 32/64-bit. GGC version 4.7.1.

 

http://nuwen.net/mingw.html

 

Also pretty easy to install if I remember correctly. Not sure if it supports 64-bit, but it is GGC version 4.8.1 and comes with Boost 1.54 by default.

Edited by Chris_F

Share this post


Link to post
Share on other sites
 

For GCC on Windows I would suggest:
 
http://tdm-gcc.tdragon.net/
 
Which is very easy to install. You have your choice of 32-bit only or 32/64-bit. GGC version 4.7.1.
 
http://nuwen.net/mingw.html
 
Also pretty easy to install if I remember correctly. Not sure if it supports 64-bit, but it is GGC version 4.8.1 and comes with Boost 1.54 by default.

 
Sadly, stopping at 4.7.1 makes TDM-GCC almost as unmaintained as official MINGW releases. The other suggestion, Stephen T. Lavavej's distribution, remains my first choice.

Share this post


Link to post
Share on other sites

OP, have you tried the VS2013 preview? It supports more of C++11 -- indeed all, or nearly all, of the stuff you'd actually care to use. Again, its just a preview, but the real-deal is just around the corner.

 

Far from it. Implicit move generation is pretty important, and ref qualifiers are very helpful for correctness. And no proper constexpr. And no user defined literals. All delayed to post VC2013 CTPs (so not for production code). The saddest part? On the far right (lowest priority/farthest in the future) there are still two C++98 bullet points. Admittedly not that important but that standard is now 15 years old, and Visual Studio still isn't there yet, and I suspect that C++11/14 will take just as long.

 

Visual Studio is lagging behind extremely.

 

About Mingw, I usually get my MinGW from http://sourceforge.net/projects/mingwbuilds/ those are very up to date.

Edited by l0calh05t

Share this post


Link to post
Share on other sites

Thanks everyone. I think I've settled on Code::Blocks and MinGW. I like the IDE.
 
I did think about VS2013, but it was fleeting. Microsoft places so many unnecessary and artificial restrictions on the Express versions that it becomes, in many cases, unusable. Now they are limiting DX development and debugging to the paid versions? What's next? I was actually thinking about paying for the pro version until I remember the poor C++11 support. If there are better options, sticking with Microsoft's version gain me nothing but headaches. l0calh05t, they still haven't fully implemented C++98? Really? Yeah, I'll pass.
 

 

else you can download last Qt package and just add the -std=c++ flag to project file options (you get the mingw 4.8.x package along with Qt IDE).

QFE.
 
QtCreator is one of the nicest of the non-Microsoft IDEs, and you get a shiny new C++0x-capable GCC, into the bargain.

 


I've had Qt 5.1 with MinGW 4.8 for some time now and didn't realize what I had. I really HATE Qt's IDE. I really cannot quantify it, but it just irks me. I wanted to get involved in the Tiled project, but I cannot get past Qt's GUI. I really don't know why. Something about it just irritates me. unsure.png

Edited by MarkS

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!