Re: [ipxe-devel] [PATCH] [mcurses] Fix GCC 6 nonnull-compare errors.

2016-05-04 Thread Michael Brown
On 15/04/16 23:38, Vinson Lee wrote: Remove null checks for arguments declared as nonnull. Applied; thanks: http://git.ipxe.org/ipxe.git/commitdiff/e2f14c2 I've also pushed a series of patches to fix up various other files that failed to build when I tried GCC 6. Please let me know if

Re: [ipxe-devel] [PATCH] [mcurses] Fix GCC 6 nonnull-compare errors.

2016-04-18 Thread Michael Brown
On 15/04/16 23:38, Vinson Lee wrote: Remove null checks for arguments declared as nonnull. Thanks. Is anyone sufficiently familiar with curses programming to know if this is the correct fix? The alternative would be to remove the nonnull attributes. Michael

[ipxe-devel] [PATCH] [mcurses] Fix GCC 6 nonnull-compare errors.

2016-04-15 Thread Vinson Lee
Remove null checks for arguments declared as nonnull. [BUILD] bin/windows.o hci/mucurses/windows.c: In function ‘delwin’: hci/mucurses/windows.c:21:5: error: nonnull argument ‘win’ compared to NULL [-Werror=nonnull-compare] if ( win == NULL ) ^ hci/mucurses/windows.c: In function

[ipxe-devel] [PATCH] [mcurses] Fix GCC 6 nonnull-compare errors.

2016-02-27 Thread Vinson Lee
Remove null checks for arguments declared as nonnull. [BUILD] bin/windows.o hci/mucurses/windows.c: In function ‘delwin’: hci/mucurses/windows.c:21:5: error: nonnull argument ‘win’ compared to NULL [-Werror=nonnull-compare] if ( win == NULL ) ^ hci/mucurses/windows.c: In function

[ipxe-devel] [PATCH] [mcurses] Fix GCC 6 nonnull-compare errors.

2016-02-27 Thread Vinson Lee
Remove null checks for arguments declared as nonnull. [BUILD] bin/windows.o hci/mucurses/windows.c: In function ‘delwin’: hci/mucurses/windows.c:21:5: error: nonnull argument ‘win’ compared to NULL [-Werror=nonnull-compare] if ( win == NULL ) ^ hci/mucurses/windows.c: In function