warning when a function's address is tested?

John Levon levon@movementarian.org
Sun Oct 12 16:46:00 GMT 2003


On Sun, Oct 12, 2003 at 12:00:15PM -0400, Jeff Sturm wrote:

> One legitimate use is to test for undefined weak symbols.  That's not an
> argument against the warning however... more often than not this is surely
> a mistake.

And the code in cp/cvt.c explicitly checks for this and doesn't warn
anyway.

john
-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.



More information about the Gcc mailing list