Re: [PATCH] test_ipfrag: remove array of size zero

2025-05-16 Thread David Marchand
On Fri, Mar 7, 2025 at 3:13 AM Andre Muezerie wrote: > > When compiling with MSVC the error below pops up: > > ../app/test/test_ipfrag.c(39): error C2466: > cannot allocate an array of constant size 0 > ../app/test/test_ipfrag.c(157): warning C4034: sizeof returns 0 > ../app/test/test_ipfrag.c

Re: [PATCH] test_ipfrag: remove array of size zero

2025-05-16 Thread David Marchand
On Fri, Mar 7, 2025 at 3:13 AM Andre Muezerie wrote: > > When compiling with MSVC the error below pops up: > > ../app/test/test_ipfrag.c(39): error C2466: > cannot allocate an array of constant size 0 > ../app/test/test_ipfrag.c(157): warning C4034: sizeof returns 0 > ../app/test/test_ipfrag.c

[PATCH] test_ipfrag: remove array of size zero

2025-03-06 Thread Andre Muezerie
When compiling with MSVC the error below pops up: ../app/test/test_ipfrag.c(39): error C2466: cannot allocate an array of constant size 0 ../app/test/test_ipfrag.c(157): warning C4034: sizeof returns 0 ../app/test/test_ipfrag.c(160): warning C4034: sizeof returns 0 The fix is to simplify the