https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86743
--- Comment #2 from Lance Roy <ldr709 at gmail dot com> --- Even though it is no longer the default, it is still incorrect to error in C++03 mode. Note that "clang++ -std=c++03" compiles this without error.