Just wanted to let you guys know that I'm getting the following errors
when compiling with 'gcc version 4.7.0 (Gentoo 4.7.0 p1.0, pie-0.5.3)':
[BUILD] bin/isa.o
drivers/bus/isa.c: In function 'isabus_probe':
drivers/bus/isa.c:112:18: error: array subscript is above array bounds
[-Werror=array-bounds] cc1: all warnings being treated as errors
make: *** [bin/isa.o] Error 1
[BUILD] bin/qib7322.o
drivers/infiniband/qib7322.c: In function 'qib7322_probe':
drivers/infiniband/qib7322.c:2141:28: error: 'old_value' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
drivers/infiniband/qib7322.c:2123:11: note: 'old_value' was declared
here cc1: all warnings being treated as errors make: ***
[bin/qib7322.o] Error 1
If I add NO_WERROR=1, then everything seems to compile.
Brandon Penglase
_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel