This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs bug


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]