egcs bug
Alexandre Oliva
oliva@dcc.unicamp.br
Sun Feb 28 23:30:00 GMT 1999
On Feb 21, 1999, Josh Bertram <jbertram@bydgoszcz.cs.iastate.edu> wrote:
> gaptracker.h:18: warning: ANSI C++ forbids initialization of member `m_W'
> Here's the code that caused the bug:
> class gaptracker
> {
> // unimportant stuff
> private:
> window m_W( WINDOW_SIZE, WINDOW_SIZE, "Sensor Based Viewpoint");
> };
Looks like the `unimportant stuff' is not as unimportant as you might
think. I just get:
t.cc:5: syntax error before `('
because window is undefined. For instructions on bug reporting,
please read http://egcs.cygnus.com/faq.html#bugreport
BTW, I believe the problem you report is fixed in egcs 1.1.1
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list