[PATCH] Fix -Wdisallowed-function-list=* (PR c++/39554)

Ian Lance Taylor iant@google.com
Sat Mar 28 01:46:00 GMT 2009


Mark Mitchell <mark@codesourcery.com> writes:

> Ian Lance Taylor wrote:
>
>> I don't think this option,
>> which was introduced because of a real need, should be discarded because
>> there is a different way to do something else.
>
> What do you think about the design issue, though?  Independent of the
> need for the feature, I think we should come up with a way of doing this
> that allows for overloading.  Unless we have a story about how adding
> that will be compatible with what we have (rather than introducing a
> separate mechanism), I think we should defer this functionality.

I don't think it's very interesting to disallow one version of an
overloaded function while permitting other versions.

Can you give an example of the problem?

Ian



More information about the Gcc-patches mailing list