C ++ 14 compiler for OS X
Can anyone recommend a compiler that supports C ++ 14 on OS X platform? I am learning programming and principles of Bjarne Stroustrup and need some help acquiring an appropriate compiler for the context of the book (C ++ 14).
The best compiler to use on OS X is clang. C ++ 14 is fully supported in clang since 3.4: http://clang.llvm.org/cxx_status.html .
The current version of Xcode 6 comes with a 3.4 based framework, so you can just use that.
(Source: I'm a compiler engineer working at Apple)
You have to install Macports and then you have the choice of GCC 4.8 or 4.9 and Clang 3.5 or 3.6 by simply typing:
$ sudo port install clang-36
or
$ sudo port install gcc49
Note: you need to install Xcode first.
The Apple standard compiler is Clang. Here, he claims that C ++ 14 knows:
http://clang.llvm.org/cxx_status.html#cxx14
To get it I think the easiest way is to install Xcode.