[Bug c++/33786] "C" data and static const data members mangled the same

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 15 18:31:00 GMT 2007



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



More information about the Gcc-bugs mailing list