diff options
| author | Michael Brown | 2021-01-15 21:54:27 +0100 |
|---|---|---|
| committer | Michael Brown | 2021-01-15 21:54:27 +0100 |
| commit | 8e3826aa10ee5b2d9f85d6177cc061260f3388df (patch) | |
| tree | 74462e1b9dbc7f52475a7813d3c0c87fe8ce2804 /src/net | |
| parent | [isa] Add missing #include <config/isa.h> (diff) | |
| download | ipxe-8e3826aa10ee5b2d9f85d6177cc061260f3388df.tar.gz ipxe-8e3826aa10ee5b2d9f85d6177cc061260f3388df.tar.xz ipxe-8e3826aa10ee5b2d9f85d6177cc061260f3388df.zip | |
[build] Inhibit spurious array bounds warning on some versions of gcc
Some versions of gcc (observed with gcc 9.3.0 on NixOS Linux) produce
a spurious warning about an out-of-bounds array access for the
isa_extra_probe_addrs[] array.
Work around this compiler bug by redefining the array index as a
signed long, which seems to somehow avoid this spurious warning.
Debugged-by: Manuel Mendez <mmendez534@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
0 files changed, 0 insertions, 0 deletions
