Internal compiler error in egcs1.1b
Marat Boshernitsan
maratb@cs.berkeley.edu
Thu Oct 29 19:35:00 GMT 1998
Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de> writes:
> > This piece of invalid C++ code (destructor with a parameter) triggers
> > an internal compiler error:
>
> Thanks for your report. This is a known bug, and has been fixed in the
> development branch.
>
> Regards,
> Martin
>
> P.S. Considering how many times this has been reported, I wonder what
> people thought parameters to a destructor would do.
Well, in our code it appears that someone did cut'n'paste on the
constructor, added a "~", but forgot to remove its parameters. (I often
do that too with classes that have long and unwieldy names).
Thanks for the clarification,
Marat.
More information about the Gcc
mailing list