This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs bug
- To: Josh Bertram <jbertram at bydgoszcz dot cs dot iastate dot edu>
- Subject: Re: egcs bug
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 22 Feb 1999 04:14:37 -0300
- Cc: egcs-bugs at cygnus dot com
- References: <199902220056.SAA27475@bydgoszcz.cs.iastate.edu>
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