Re: [PATCH v5] eal: define __SIZEOF_LONG__ when using MSVC

2025-02-07 Thread Andre Muezerie
On Fri, Feb 07, 2025 at 11:56:13AM +0100, David Marchand wrote: > On Wed, Feb 5, 2025 at 5:12 PM Andre Muezerie > wrote: > > > > Macro __SIZEOF_LONG__ is not standardized and MSVC does not define it. > > Therefore the errors below are seen with MSVC: > > > > ../lib/mldev/mldev_utils_scalar.c(465):

Re: [PATCH v5] eal: define __SIZEOF_LONG__ when using MSVC

2025-02-07 Thread David Marchand
On Wed, Feb 5, 2025 at 5:12 PM Andre Muezerie wrote: > > Macro __SIZEOF_LONG__ is not standardized and MSVC does not define it. > Therefore the errors below are seen with MSVC: > > ../lib/mldev/mldev_utils_scalar.c(465): error C2065: > '__SIZEOF_LONG__': undeclared identifier > ../lib/mldev/ml

[PATCH v5] eal: define __SIZEOF_LONG__ when using MSVC

2025-02-05 Thread Andre Muezerie
Macro __SIZEOF_LONG__ is not standardized and MSVC does not define it. Therefore the errors below are seen with MSVC: ../lib/mldev/mldev_utils_scalar.c(465): error C2065: '__SIZEOF_LONG__': undeclared identifier ../lib/mldev/mldev_utils_scalar.c(478): error C2051: case expression not const