A warning option for confusing overload resolution

Tobias Ringstrom tori@prosolvia.se
Tue Jul 14 04:47:00 GMT 1998


On 14-Jul-98 Jason Merrill wrote:
> No, I think the better choice is to fix the warning to not be so stupid.
> Does this do the trick for you?

Yes, thanks.  Especially since you fixed it without the small testcase I
prepared, but forgot to include in my previous mail. :-(

I still think that it should be possible to disable the warning, although I was
unable to trigger it.  Is code that triggers this warning always truly
confusing or have you simply pushed the warning further away from sane code?
Perhaps an option that is on by default?  If you want, I can modify my patch to
do this.

/ Tobias



More information about the Gcc-patches mailing list