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 #7 from dodji at gcc dot gnu dot org  2008-07-16 23:44 -------
Subject: Bug 13699

Author: dodji
Date: Wed Jul 16 23:44:02 2008
New Revision: 137904

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137904
Log:
2008-07-16  Dodji Seketeli  <dseketel@redhat.com>

        PR c++/13699
        * gcc/cp/name-lookup.c (lookup_extern_c_fun_binding_in_all_ns):
        New function.
        (pushdecl_maybe_friend): Check if a redeclaration of extern C function
        complies with exception specification constraints.


Added:
    trunk/gcc/testsuite/g++.dg/lookup/extern-c-redecl.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/testsuite/ChangeLog


-- 


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]