This is the mail archive of the gcc@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: Internal compiler error in egcs1.1b



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.


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