This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13699] Extern "C" routine in different namespaces accepted with different exception signature



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]