Re: [ipxe-devel] [PATCH] [build] Ignore GCC 7 implicit-fallthrough errors.

2017-03-29 Thread Michael Brown
On 14/02/17 02:42, Vinson Lee wrote: GCC 7 -Wextra now enables -Wimplicit-fallthrough. https://gcc.gnu.org/gcc-7/changes.html Should now be fixed: http://git.ipxe.org/ipxe.git/commitdiff/5f85cbb I added explicit fall-throughs where needed rather than inhibit a potentially useful extra

[ipxe-devel] [PATCH] [build] Ignore GCC 7 implicit-fallthrough errors.

2017-02-13 Thread Vinson Lee
GCC 7 -Wextra now enables -Wimplicit-fallthrough. https://gcc.gnu.org/gcc-7/changes.html $ make [...] [BUILD] bin/igbvf_vf.o drivers/net/igbvf/igbvf_vf.c: In function ‘igbvf_promisc_set_vf’: drivers/net/igbvf/igbvf_vf.c:359:10: error: this statement may fall through