This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix -Wdisallowed-function-list=* (PR c++/39554)
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