Bugreport

Simon Thum Simon.Thum@mni.fh-giessen.de
Tue Jun 22 05:21:00 GMT 1999


Hi there!

I´m runnig Intel-Linux and egcs 2.91.66, and had this nasty error.
Members with default args from the class seem to be treated static for
some reason, and I found no explanation in my C++ book.
I have constructed a minimal-case ´Program´ to reproduce the bug. I
simply invoked:

g++ egcs-err.cpp

and it stated a static member couldn´t access in-class data.
I ommitted the preprocessing since it should have no meaning.

BTW, on our SUN´s the problem also occurs, with the same egcs.

Good luck 


More information about the Gcc-bugs mailing list