http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52485
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-05 09:07:21 UTC --- That is not ugly, that is the right thing to do. Every GCC version has some changes that require changes in lots of application sources (see http://gcc.gnu.org/gcc-4.N/porting_to.html for various N), this is just one of them, documented and fairly trivial to discover and fix. If you don't have a C++11 source, don't compile with -std=c++11.