http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50871
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-26 10:14:55 UTC --- Well, the error itself is protected by ! DECL_IN_SYSTEM_HEADER (old_decl). Thus I guess the point is whether we want to do something special for C++11 here, like errors involving defaulted definitions or noexcept itself. Maybe Jason has something to suggest..