public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* Re: [Fwd: egcs internal error]
  1999-07-31 23:33 [Fwd: egcs internal error] Ron House
@ 1999-07-13  3:39 ` Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 1999-07-13  3:39 UTC (permalink / raw)
  To: Ron House; +Cc: egcs-bugs

On Jul  8, 1999, Ron House <house@usq.edu.au> wrote:

> event.h:40: Internal compiler error.

>     static const natSet All(
>         1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,
> 	20,21,22,23,24,25,26,27,28,29,30,31,-1
>     );

Thanks for your bug report.  This bug is fixed in the upcoming gcc
2.95.  It says:

In file included from /home/phd/oliva/event.cpp:1:
/home/phd/oliva/event.h:40: in-class initialization of static data member of non-integral type `const natSet'
/home/phd/oliva/event.h:24: `All' was not declared in this scope
/home/phd/oliva/event.h:24: confused by earlier errors, bailing out

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Fwd: egcs internal error]
@ 1999-07-31 23:33 Ron House
  1999-07-13  3:39 ` Alexandre Oliva
  0 siblings, 1 reply; 2+ messages in thread
From: Ron House @ 1999-07-31 23:33 UTC (permalink / raw)
  To: egcs-bugs

-- 
Ron House            house@usq.edu.au

The evils of each age always seem self-evidently right at the time.
>From martin@mira.isdn.cs.tu-berlin.de Sat Jul 31 23:33:00 1999
From: "Martin v. Loewis" <martin@mira.isdn.cs.tu-berlin.de>
To: Roger.Kommer@micromata.de
Cc: egcs-bugs@egcs.cygnus.com
Subject: Re: egcs C++ bug
Date: Sat, 31 Jul 1999 23:33:00 -0000
Message-id: <199907020826.KAA00673@mira.isdn.cs.tu-berlin.de>
References: <000001bebb11$4fc37400$2df0dad4@micromata.de>
X-SW-Source: 1999-07n/msg00067.html
Content-length: 188

> I'm quite sure, that this is legal code.

It isn't. The function foo in the derived class hides the one in the
base class. Please consult a book about C++ for details.

Regards,
Martin


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-07-31 23:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-31 23:33 [Fwd: egcs internal error] Ron House
1999-07-13  3:39 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).