summaryrefslogtreecommitdiffstats
path: root/src/core/null_time.c
diff options
context:
space:
mode:
authorMichael Brown2018-07-08 19:12:43 +0200
committerMichael Brown2018-07-08 19:17:18 +0200
commit1c47eb186e7e38bde2a1db528cc3557b1b300386 (patch)
tree4e0a7ea00637813e37dd3916abc31ffcfdcaf439 /src/core/null_time.c
parent[vmbus] Do not expect version in version_response (diff)
downloadipxe-1c47eb186e7e38bde2a1db528cc3557b1b300386.tar.gz
ipxe-1c47eb186e7e38bde2a1db528cc3557b1b300386.tar.xz
ipxe-1c47eb186e7e38bde2a1db528cc3557b1b300386.zip
[build] Use positive-form tests when checking for supported warnings
Some versions of gcc seem to silently accept an attempt to disable an unrecognised warning (e.g. via -Wno-stringop-truncation) but will then report the unrecognised warning if any other error occurs during the build, resulting in a potentially misleading error message. Avoid this potential confusion by using the positive-form tests in order to determine the workaround CFLAGS. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core/null_time.c')
0 files changed, 0 insertions, 0 deletions