This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13699] Extern "C" routine in different namespaces accepted with different exception signature
- From: "dseketel at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2008 17:58:34 -0000
- Subject: [Bug c++/13699] Extern "C" routine in different namespaces accepted with different exception signature
- References: <bug-13699-7719@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from dseketel at redhat dot com 2008-07-08 17:58 -------
Created an attachment (id=15876)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15876&action=view)
display warnings instead of error
Second opus of the patch.
It appears that the patch makes g++ not capable of compiling libstdc++
precisely because libstdc++ contains re-declarations of functions with C
linkage specification, without respecting the exception specification
constraints.
Therefore, the we now report warnings instead of errors. Errors can be
triggered using -pedantic though.
The patch has been regtested on x86.
--
dseketel at redhat dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #15871|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13699