Re: [PATCH v2 3/5] eal: update versioning macros

2025-03-07 Thread David Marchand
On Wed, Feb 19, 2025 at 2:40 AM Andre Muezerie wrote: > > When compiling with MSVC the error below shows up due to function > versioning: > > ../lib/net/rte_net_crc.c(418): error C2061: syntax error: > identifier '__attribute__' > > MSVC allows alias function names to be exported, but the mech

Re: [PATCH v2 3/5] eal: update versioning macros

2025-03-06 Thread Andre Muezerie
On Thu, Mar 06, 2025 at 01:59:34PM +0100, David Marchand wrote: > On Wed, Feb 19, 2025 at 2:40 AM Andre Muezerie > wrote: > > > > When compiling with MSVC the error below shows up due to function > > versioning: > > > > ../lib/net/rte_net_crc.c(418): error C2061: syntax error: > > identifier '

[PATCH v2 3/5] eal: update versioning macros

2025-02-18 Thread Andre Muezerie
When compiling with MSVC the error below shows up due to function versioning: ../lib/net/rte_net_crc.c(418): error C2061: syntax error: identifier '__attribute__' MSVC allows alias function names to be exported, but the mechanism is different than the one used by gcc. It was considered to enh