Intersting C++ error message.
Jason Merrill
jason@cygnus.com
Tue Aug 31 23:20:00 GMT 1999
>>>>> Nathan Sidwell <nathan@acm.org> writes:
>> 2) Sense this is harmless is there any way to suppress the warning?
> ANSI mandates us to give a diagnostic.
No, it doesn't. I added that warning to warn people of potentially
confusing results. I talked about a change a while back to avoid warning
about probably-harmless cases like this one, but never implemented it.
Jason
More information about the Gcc
mailing list