This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: warning when a function's address is tested?
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.