On 27-6-2014 21:41, Krzysztof KosiĆski wrote:
2014-06-27 21:33 GMT+02:00 Jon A. Cruz <jon@...18...>:
Well... there are two different issues "start using C++ 11" and "require C++ 11".
We can start using it now. The main question is when to make it a requirement. (I've written lots of production code that compiles both with and without C++ 11 features)
All non-ancient compilers support the parts of C++11 we want. The real problem is that the C++11 standard library is not completely ABI-compatible with the C++98 one. So if we use any external C++ library that uses the STL, it must also be compiled in C++11 mode.
I'm not completely sure, but I think gtkmm uses the STL only in the headers. Other libraries would need to be checked as well.
I think this page actually says that there are none or very little ABI issues; I compile inkscape on windows with gcc 4.9 just fine with and without c++11, and have not run into weird linker/run-time errors. Just for very specific versions of gcc, there may be trouble. I think we can safely ignore that. We can skip this chicken-egg problem easily, imho.
-Johan