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

2001-11-06 Thread John R. Daily
That makes sense, thanks. That's the key piece I was missing. -- John R. DailyProgeny Linux Systems Consultant [EMAIL PROTECTED] Master of the ephemeral epiphany

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

2001-11-06 Thread Martin v. Loewis
> What I do not understand is why the compiler does _not_ find > ambiguity when the C++ class header is slimmed down to just the > necessary parts: the operator overload and a constructor. Because you've removed the ambiguity in simple.h. If you add the line operator const char*()const; back

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

2001-11-05 Thread John R. Daily
At (time_t)712734125 "Martin v. Loewis" wrote: > As you can see from PR#3747, this apparently comes from ptrdiff_t > being signed on some architecture and unsigned on another. What part > of the explanation in this PR is unclear to you? I understand (more or less) why the compiler finds ambiguity

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

2001-11-05 Thread Martin v. Loewis
> > 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 consi

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

2001-11-05 Thread John R. Daily
> 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.

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

2001-11-03 Thread Randolph Chung
John had mentioned this bug to me on irc... after looking at this a bit more, it looks like someone else had reported this to the gcc folks and they determined it's 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 [] op