]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Avoid spurious address comparison warnings in gcc 4.6
authorMichael Brown <mcb30@ipxe.org>
Wed, 16 Mar 2011 18:10:49 +0000 (18:10 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 16 Mar 2011 19:32:17 +0000 (19:32 +0000)
commitc8e51f80a8baa5f595b7d19a8098a7b066bc5c3d
tree6ee316b2529e37e300627bd158f3685b8e021d25
parent511fd46976419bd2653fe7aef4d345437765bcbb
[build] Avoid spurious address comparison warnings in gcc 4.6

A construction such as "assert ( ptr != NULL )" seems to trigger a
false positive warning in gcc 4.6 if the value of "ptr" is known at
compile-time to be non-NULL.  Use -Wno-address to inhibit this
warning.

Reported-by: Ralph Giles <giles@thaumas.net>
Tested-by: Ralph Giles <giles@thaumas.net>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping