This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33786] "C" data and static const data members mangled the same
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Oct 2007 18:31:36 -0000
- Subject: [Bug c++/33786] "C" data and static const data members mangled the same
- References: <bug-33786-1186@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-10-15 18:31 -------
On the trunk, I get the following error:
t.cc:5: error: previous declaration of 'const int N::S::foobar' with 'C++'
linkage
t.cc:6: error: conflicts with new declaration with 'C' linkage
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33786