Re: [Xen-devel] [PATCH] tools/ocaml/libs/xc fix gcc-8 format-truncation warning

2018-05-15 Thread Juergen Gross
On 15/05/18 15:19, Wei Liu wrote: > CC Juergen, I think this should be in 4.11 > > On Tue, May 15, 2018 at 11:48:43AM +1000, John Thomson wrote: >> CC xenctrl_stubs.o >> xenctrl_stubs.c: In function 'failwith_xc': >> xenctrl_stubs.c:65:17: error: 'snprintf' output may be truncated before th

Re: [Xen-devel] [PATCH] tools/ocaml/libs/xc fix gcc-8 format-truncation warning

2018-05-15 Thread Wei Liu
CC Juergen, I think this should be in 4.11 On Tue, May 15, 2018 at 11:48:43AM +1000, John Thomson wrote: > CC xenctrl_stubs.o > xenctrl_stubs.c: In function 'failwith_xc': > xenctrl_stubs.c:65:17: error: 'snprintf' output may be truncated before the > last format character [-Werror=format-

Re: [Xen-devel] [PATCH] tools/ocaml/libs/xc fix gcc-8 format-truncation warning

2018-05-15 Thread Christian Lindig
> On 15 May 2018, at 02:48, John Thomson > wrote: > > CC xenctrl_stubs.o > xenctrl_stubs.c: In function 'failwith_xc': > xenctrl_stubs.c:65:17: error: 'snprintf' output may be truncated before the > last format character [-Werror=format-truncation=] > "%d: %s: %s", error->code, >

[Xen-devel] [PATCH] tools/ocaml/libs/xc fix gcc-8 format-truncation warning

2018-05-14 Thread John Thomson
CC xenctrl_stubs.o xenctrl_stubs.c: In function 'failwith_xc': xenctrl_stubs.c:65:17: error: 'snprintf' output may be truncated before the last format character [-Werror=format-truncation=] "%d: %s: %s", error->code, ^ xenctrl_stubs.c:64:4: note: 'snprintf' output 6 o