[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#118087: operation behavior not a bug...



> See PR#3747 at http://gcc.gnu.org/cgi-bin/gnatsweb.pl
> 
> The fix is to not use unsigned int as a type in an overridden []
> operator. changing the [] operator to have type int works.

That fix did allow ftpgrab to compile under hppa, but I'm baffled
as to how this can not be considered a bug.

Ignoring the question of whether unsigned int should be a valid
type, how is it that two different header files with the same
declaration for operator[] compile differently?

--
John R. Daily                                    Progeny Linux Systems
Consultant                                          jdaily@progeny.com
               Master of the ephemeral epiphany





Reply to: