This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50871] [C++0x] G++ fails to reject explicitly-defaulted function definition with different exception spec in system headers
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Oct 2011 10:14:55 +0000
- Subject: [Bug c++/50871] [C++0x] G++ fails to reject explicitly-defaulted function definition with different exception spec in system headers
- Auto-submitted: auto-generated
- References: <bug-50871-4@http.gcc.gnu.org/bugzilla/>
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..