compiler error 109

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Thu Sep 30 19:57:00 GMT 1999


> I get this in bug2.cc  (attached, the code isn't ansi compliant).

Thanks for your bug report. gcc-2.95.1 says

bug2.cc:6: in-class initialization of static data member of non-integral type `const string'
bug2.cc:10: `const class string B::cs' is not a static member of `class B'

so the bug has been fixed.

Regards,
Martin



More information about the Gcc-bugs mailing list