diff options
| author | Michael Brown | 2022-12-14 02:26:03 +0100 |
|---|---|---|
| committer | Michael Brown | 2022-12-14 02:29:49 +0100 |
| commit | b0ded89e917b48b73097d3b8b88dfa3afb264ed0 (patch) | |
| tree | 492fb1d301c493d83f0a0400e19f982ee07622a8 /src/image | |
| parent | [build] Disable array bounds checking for GCC (diff) | |
| download | ipxe-b0ded89e917b48b73097d3b8b88dfa3afb264ed0.tar.gz ipxe-b0ded89e917b48b73097d3b8b88dfa3afb264ed0.tar.xz ipxe-b0ded89e917b48b73097d3b8b88dfa3afb264ed0.zip | |
[build] Disable dangling pointer checking for GCC
The dangling pointer warning introduced in GCC 12 reports false
positives that result in build failures. In particular, storing the
address of a local code label used to record the current state of a
state machine (as done in crypto/deflate.c) is reported as an error.
There seems to be no way to mark the pointer type as being permitted
to hold such a value, so unconditionally disable the warning.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/image')
0 files changed, 0 insertions, 0 deletions
