warning when a function's address is tested?

Jeff Sturm jsturm@one-point.com
Sun Oct 12 17:37:00 GMT 2003


On 12 Oct 2003, Falk Hueffner wrote:
> > One legitimate use is to test for undefined weak symbols.
>
> But gcc knows that from __attribute__((weak)) and can suppress the
> warning in this case (like the C++ frontend does).

Thanks, didn't know c++ did that.  So, never mind...

Jeff



More information about the Gcc mailing list