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

Chris Lattner clattner@apple.com
Sat Mar 28 05:38:00 GMT 2009


On Mar 27, 2009, at 9:09 PM, Ian Lance Taylor wrote:

> Chris Lattner <clattner@apple.com> writes:
>
>> This is really gross.  Attributes work great for this.
>
> Only when there is a single header file that everything includes.

Right.

> (And, yes, I agree that one can use -include.)

Right! ;-)

Anyway, I just piped up because I think that attribute(unavailable) is  
not a completely unreasonable thing to have, and it would be nice for  
clang/apple-gcc/fsf-gcc to agree on this feature.  It obviously isn't  
that big of a deal though.

-Chris



More information about the Gcc-patches mailing list