This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/7313] variable declared but not defined with "C" linkage placed in enclosing namespace at link time
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Feb 2012 01:41:07 +0000
- Subject: [Bug c++/7313] variable declared but not defined with "C" linkage placed in enclosing namespace at link time
- Auto-submitted: auto-generated
- References: <bug-7313-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7313
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-02 01:41:07 UTC ---
or if it is ill-formed, it's "no diagnostic required":
http://open-std.org/JTC1/SC22/WG21/docs/cwg_defects.html#564
I'm not sure whether the definitions find the same entities (and inherit their
language linkage) as the extern "C" declarations.