https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81947
Daniel Krügler <daniel.kruegler at googlemail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler@googlemail. | |com --- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> --- gcc 4.4.7 has no complete C++11 support. AFAIK the first gcc version targetting C++11 is the 4.7 series and when testing against 4.7.3 (The oldest 4.7 version available to me), compiles the code successfully. I don't think that any further C++11 support is planned for 4.4.7, I recommend to switch to a newer gcc version or to give up attempting to use C++11 code with a compiler that is not designed to support C++11.