• Forum
  • Lounge
  • Good compiler with the new C++11 standar

 
 
Good compiler with the new C++11 standards

closed account (jwkNwA7f)
I have been using Microsoft Visual Studio for a while now, but I would like to start using the new C++11 standards.
closed account (Dy7SLyTq)
download mingw. it works with at least some of 11. I havent tested it all though
closed account (jwkNwA7f)
Thank you!

Also do you know of any tutorials for C++11?
Well, Visual C++ 2012 supports some of the features, and there is always the Visual Studio 2013 if you're keen enough (which even has a few C++14 features, according to the MSDN blog.)

I also have version 4.7.2 of the MinGW GCC, which is amost there, from:
MinGW - Minimalist GNU for Windows
http://sourceforge.net/projects/mingw/

GCC proper went C++11 feature complete at version 4.8.1 and, according to http://gcc.gnu.org/, the C++11 Language Features that only made it by 4.8.x are:
- Rvalue references for *this
- decltype and call expressions
- Generalized attributes
- Alignment support
- Inheriting constructors
- Bidirectional Fences
- Memory model
- Abandoning a process and at_quick_exit
- Thread-local storage

plus whatever library features.

But I also had to apply a patch to get the string algorithms to work. See:

Problems with std::stoi, not working on MinGW GCC 4.7.2
http://stackoverflow.com/questions/16132176/problems-with-stdstoi-not-working-on-mingw-gcc-4-7-2

There is also the MinWG-build project, which has released a build of 4.8.1, but I have not tried it:
http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/

Andy

C++11/14 STL Features, Fixes, And Breaking Changes In VS 2013
http://blogs.msdn.com/b/vcblog/archive/2013/06/28/c-11-14-stl-features-fixes-and-breaking-changes-in-vs-2013.aspx

C++11 Features in Visual C++ 11
http://blogs.msdn.com/b/vcblog/archive/2011/09/12/10209291.aspx

C++11 compiler support shootout: Visual Studio, GCC, Clang, Intel
http://cpprocks.com/c11-compiler-support-shootout-visual-studio-gcc-clang-intel/
Last edited on
closed account (jwkNwA7f)
Do you know when the stable release of VS 2013 will come out?
Only "later this year"...

Andy

C++ Conformance Roadmap
http://blogs.msdn.com/b/somasegar/archive/2013/06/28/cpp-conformance-roadmap.aspx

closed account (jwkNwA7f)
Thank you, andywestken.

These links have helped a lot.
I would suggest nuwen's MinGW distribution instead, which is "unofficial" but usually contains higher versions and also comes bundled with extra goodies.

http://nuwen.net/mingw.html
Try GCC 4.8.1 which provides complete support for C++11 standards!
Last edited on
closed account (jwkNwA7f)
Thank you, g4x86! Also, how did you find this topic? It was probably on the 20-30th page.
closed account (jwkNwA7f)
Well actually I just check and there are only 13 pages in the lounge right now, but it still around the tenth page.
Topic archived. No new replies allowed.