https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44313
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Ian Lance Taylor from comment #1) > This was addressed as a DR by the C++ committee: > http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#391 . And of > course the proposed C++0x standard removes this error. So gcc should only > give an error with -std=c++98 -pedantic. This is low priority. Our policy is to implement defect report resolutions in all dialects they apply to. We don't implement a buggy standard even if you say -std=c++98 -pedantic. So not a bug.