This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49045] [C++0x] unexpected "different exception specifier" error with noexcept
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 May 2011 18:16:19 +0000
- Subject: [Bug c++/49045] [C++0x] unexpected "different exception specifier" error with noexcept
- Auto-submitted: auto-generated
- References: <bug-49045-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49045
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-18 18:03:17 UTC ---
Hmm, that's tricky. G++ is saying that the two exception-specifications are
different because the unqualified lookups for swap differ, because the latter
one also finds the middle declaration. This seems like a core issue.