Re: [PATCH] tools/libxl: remove usage of VLA arrays

2024-11-05 Thread Andrew Cooper
On 05/11/2024 3:05 pm, Anthony PERARD wrote: > On Mon, Oct 28, 2024 at 12:03:59PM +, Andrew Cooper wrote: >> On 28/10/2024 11:48 am, Roger Pau Monne wrote: >>> Clang 19 complains with the following error when building libxl: >>> >>> libxl_utils.c:48:15: error: variable length array folded to co

Re: [PATCH] tools/libxl: remove usage of VLA arrays

2024-11-05 Thread Anthony PERARD
On Mon, Oct 28, 2024 at 12:03:59PM +, Andrew Cooper wrote: > On 28/10/2024 11:48 am, Roger Pau Monne wrote: > > Clang 19 complains with the following error when building libxl: > > > > libxl_utils.c:48:15: error: variable length array folded to constant array > > as an extension [-Werror,-Wgnu

Re: [PATCH] tools/libxl: remove usage of VLA arrays

2024-10-29 Thread Jan Beulich
On 28.10.2024 18:26, Roger Pau Monné wrote: > On Mon, Oct 28, 2024 at 12:57:30PM +, Frediano Ziglio wrote: >> On Mon, Oct 28, 2024 at 12:48 PM Jan Beulich wrote: >>> >>> On 28.10.2024 13:03, Andrew Cooper wrote: On 28/10/2024 11:48 am, Roger Pau Monne wrote: > Clang 19 complains with

Re: [PATCH] tools/libxl: remove usage of VLA arrays

2024-10-28 Thread Roger Pau Monné
On Mon, Oct 28, 2024 at 12:57:30PM +, Frediano Ziglio wrote: > On Mon, Oct 28, 2024 at 12:48 PM Jan Beulich wrote: > > > > On 28.10.2024 13:03, Andrew Cooper wrote: > > > On 28/10/2024 11:48 am, Roger Pau Monne wrote: > > >> Clang 19 complains with the following error when building libxl: > >

Re: [PATCH] tools/libxl: remove usage of VLA arrays

2024-10-28 Thread Frediano Ziglio
On Mon, Oct 28, 2024 at 12:48 PM Jan Beulich wrote: > > On 28.10.2024 13:03, Andrew Cooper wrote: > > On 28/10/2024 11:48 am, Roger Pau Monne wrote: > >> Clang 19 complains with the following error when building libxl: > >> > >> libxl_utils.c:48:15: error: variable length array folded to constant

Re: [PATCH] tools/libxl: remove usage of VLA arrays

2024-10-28 Thread Jan Beulich
On 28.10.2024 13:03, Andrew Cooper wrote: > On 28/10/2024 11:48 am, Roger Pau Monne wrote: >> Clang 19 complains with the following error when building libxl: >> >> libxl_utils.c:48:15: error: variable length array folded to constant array >> as an extension [-Werror,-Wgnu-folding-constant] >>

Re: [PATCH] tools/libxl: remove usage of VLA arrays

2024-10-28 Thread Andrew Cooper
On 28/10/2024 11:48 am, Roger Pau Monne wrote: > Clang 19 complains with the following error when building libxl: > > libxl_utils.c:48:15: error: variable length array folded to constant array as > an extension [-Werror,-Wgnu-folding-constant] >48 | char path[strlen("/local/domain") + 12];

Re: [PATCH] tools/libxl: remove usage of VLA arrays

2024-10-28 Thread Frediano Ziglio
On Mon, Oct 28, 2024 at 11:48 AM Roger Pau Monne wrote: > > Clang 19 complains with the following error when building libxl: > > libxl_utils.c:48:15: error: variable length array folded to constant array as > an extension [-Werror,-Wgnu-folding-constant] >48 | char path[strlen("/local/dom

[PATCH] tools/libxl: remove usage of VLA arrays

2024-10-28 Thread Roger Pau Monne
Clang 19 complains with the following error when building libxl: libxl_utils.c:48:15: error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant] 48 | char path[strlen("/local/domain") + 12]; | ^~~~ Rep