This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28409] [4.2 Regression] extern "C" and anonymous namespace
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2006 00:46:59 -0000
- Subject: [Bug c++/28409] [4.2 Regression] extern "C" and anonymous namespace
- References: <bug-28409-138@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from mmitchel at gcc dot gnu dot org 2006-07-19 00:46 -------
Yes, extern "C" should make the function have external linkage in the object
file. Namespaces have no impact on extern "C" functions, except from the point
of view of lexical scoping.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28409