Re: [Xen-devel] [PATCH v2] tools/ocaml: Fix build error with Arch Linux

2019-10-29 Thread Wei Liu
On Tue, Oct 29, 2019 at 12:38:35PM +, Wei Liu wrote: > On Mon, 28 Oct 2019 at 16:38, Petre Pircalabu > wrote: > > > > gcc (GCC) 9.2.0 complains: > > > > xentoollog_stubs.c: In function ‘stub_xtl_ocaml_vmessage’: > > xentoollog_stubs.c:93:16: error: initialization discards ‘const’ qualifier >

Re: [Xen-devel] [PATCH v2] tools/ocaml: Fix build error with Arch Linux

2019-10-29 Thread Wei Liu
On Mon, 28 Oct 2019 at 16:38, Petre Pircalabu wrote: > > gcc (GCC) 9.2.0 complains: > > xentoollog_stubs.c: In function ‘stub_xtl_ocaml_vmessage’: > xentoollog_stubs.c:93:16: error: initialization discards ‘const’ qualifier > from pointer target type [-Werror=discarded-qualifiers] >93 | valu

[Xen-devel] [PATCH v2] tools/ocaml: Fix build error with Arch Linux

2019-10-28 Thread Petre Pircalabu
gcc (GCC) 9.2.0 complains: xentoollog_stubs.c: In function ‘stub_xtl_ocaml_vmessage’: xentoollog_stubs.c:93:16: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 93 | value *func = caml_named_value(xtl->vmessage_cb) ; |