Re: [PATCH v2 05/10] test-pmd: avoid undefined behavior

2025-02-19 Thread Andre Muezerie
On Tue, Feb 18, 2025 at 04:41:14PM +, Bruce Richardson wrote: > On Tue, Feb 18, 2025 at 08:32:04AM -0800, Andre Muezerie wrote: > > Compiling with MSVC results in warnings like below: > > > > app/test-pmd/cmdline.c(9023): warning C5101: use of preprocessor > > directive in function-like ma

Re: [PATCH v2 05/10] test-pmd: avoid undefined behavior

2025-02-18 Thread Bruce Richardson
On Tue, Feb 18, 2025 at 08:32:04AM -0800, Andre Muezerie wrote: > Compiling with MSVC results in warnings like below: > > app/test-pmd/cmdline.c(9023): warning C5101: use of preprocessor > directive in function-like macro argument list is undefined behavior > > Signed-off-by: Andre Muezerie

[PATCH v2 05/10] test-pmd: avoid undefined behavior

2025-02-18 Thread Andre Muezerie
Compiling with MSVC results in warnings like below: app/test-pmd/cmdline.c(9023): warning C5101: use of preprocessor directive in function-like macro argument list is undefined behavior Signed-off-by: Andre Muezerie Signed-off-by: Chengwen Feng --- app/test-pmd/cmdline.c | 15 +