Re: [PATCH] rcu: remove VLAs

2025-05-16 Thread Andre Muezerie
On Fri, May 16, 2025 at 03:30:23PM +0200, David Marchand wrote: > On Fri, May 16, 2025 at 3:09 PM Andre Muezerie > wrote: > > > > On Fri, May 16, 2025 at 11:22:05AM +0200, David Marchand wrote: > > > Andre, > > > > > > On Fri, Mar 7, 2025 at 2:40 AM Andre Muezerie > > > wrote: > > > > > > > > The

Re: [PATCH] rcu: remove VLAs

2025-05-16 Thread David Marchand
On Fri, May 16, 2025 at 3:09 PM Andre Muezerie wrote: > > On Fri, May 16, 2025 at 11:22:05AM +0200, David Marchand wrote: > > Andre, > > > > On Fri, Mar 7, 2025 at 2:40 AM Andre Muezerie > > wrote: > > > > > > There are two lines that were using VLAs, which are not supported by > > > MSVC. > > >

Re: [PATCH] rcu: remove VLAs

2025-05-16 Thread David Marchand
On Fri, Mar 7, 2025 at 2:40 AM Andre Muezerie wrote: > > There are two lines that were using VLAs, which are not supported by > MSVC. > > 1) > ../lib/rcu/rte_rcu_qsbr.c:326:12: warning: variable length array used [-Wvla] > 326 | char data[dq->esize]; > | ^

Re: [PATCH] rcu: remove VLAs

2025-05-16 Thread Andre Muezerie
On Fri, May 16, 2025 at 11:22:05AM +0200, David Marchand wrote: > Andre, > > On Fri, Mar 7, 2025 at 2:40 AM Andre Muezerie > wrote: > > > > There are two lines that were using VLAs, which are not supported by > > MSVC. > > > > 1) > > ../lib/rcu/rte_rcu_qsbr.c:326:12: warning: variable length arra

Re: [PATCH] rcu: remove VLAs

2025-05-16 Thread David Marchand
Andre, On Fri, Mar 7, 2025 at 2:40 AM Andre Muezerie wrote: > > There are two lines that were using VLAs, which are not supported by > MSVC. > > 1) > ../lib/rcu/rte_rcu_qsbr.c:326:12: warning: variable length array used [-Wvla] > 326 | char data[dq->esize]; > | ^

Re: [PATCH] rcu: remove VLAs

2025-05-16 Thread David Marchand
Hello, On Thu, Apr 10, 2025 at 1:39 PM David Marchand wrote: > > On Fri, Mar 7, 2025 at 2:40 AM Andre Muezerie > wrote: > > > > There are two lines that were using VLAs, which are not supported by > > MSVC. > > > > 1) > > ../lib/rcu/rte_rcu_qsbr.c:326:12: warning: variable length array used > >

Re: [PATCH] rcu: remove VLAs

2025-04-10 Thread David Marchand
On Fri, Mar 7, 2025 at 2:40 AM Andre Muezerie wrote: > > There are two lines that were using VLAs, which are not supported by > MSVC. > > 1) > ../lib/rcu/rte_rcu_qsbr.c:326:12: warning: variable length array used [-Wvla] > 326 | char data[dq->esize]; > | ^

[PATCH] rcu: remove VLAs

2025-03-06 Thread Andre Muezerie
There are two lines that were using VLAs, which are not supported by MSVC. 1) ../lib/rcu/rte_rcu_qsbr.c:326:12: warning: variable length array used [-Wvla] 326 | char data[dq->esize]; | ^ 2) ../lib/rcu/rte_rcu_qsbr.c:389:12: warning: variable length array