C++11 on Windows (Hah!)
For it being 2013 and as much as Herb Sutter has talked about C++11, it’s surprisingly hard to get an off-the-shelf C++11 development toolchain on Windows, at least as of today. By off-the-shelf I mean suitable for an engineering team to get up and running quickly. Of course I could perform unnatural acts and compile my own packages of whatever, but no thanks.
Cygwin runs gcc 4.5 which is too old for most C++11 features. Cygwin does provide a clang 3.1 package, but it uses the gcc 4.5 libstdc++ headers, lacking most of C++11’s standard library.
I could attempt to compile my own libcxx but libcxx is only known to work on Mac OS X.
In November, Microsoft released a Community Technology Preview increasing Visual Studio 2012’s C++11 support but it requires modifying your project to use the CTP toolchain. I’m using SCons and I have no idea how to convince it to use the CTP.
MinGW offers gcc 4.7 and, in theory, complete C++11 support, but a known bug disables
std::to_string. At least until gcc 4.8.
Blah. I think I’ll abandon Windows for development and focus on Mac and Linux until this situation has improved.