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

2008-01-12 Thread bangerth at dealii dot org


--- Comment #2 from bangerth at dealii dot org  2008-01-13 03:12 ---
So fixed. This is the error message one would expect.


-- 

bangerth at dealii dot org changed:

   What|Removed |Added

 CC||bangerth at dealii dot org
 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33786



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

2007-10-15 Thread pinskia 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