[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH v2 1/2] GCC 7: Add __attribute__((noreturn)) to some usage functions which call exit.



On Tuesday, 14 February 2017 16:51:22 CET Richard W.M. Jones wrote:
> This happens with GCC 7.0.1.  The errors were all of the form:
> 
> qemu-speed-test.c: In function 'main':
> qemu-speed-test.c:153:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
>        usage (EXIT_SUCCESS);
>        ^~~~~~~~~~~~~~~~~~~~
> qemu-speed-test.c:155:5: note: here
>      default:
>      ^~~~~~~
> ---

LGTM.

Thanks,
-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]