RE: [PATCH v2] RFC: replace GCC marker extension with C11 anonymous unions

2024-02-13 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Tuesday, 13 February 2024 07.46 > > The zero sized RTE_MARKER typedefs are a GCC extension unsupported > by > MSVC. Replace the use of the RTE_MARKER typedefs with anonymous > unions. > > Note: > > v1 of the series tried to ma

Re: [PATCH v2] RFC: replace GCC marker extension with C11 anonymous unions

2024-02-13 Thread Bruce Richardson
On Mon, Feb 12, 2024 at 10:45:40PM -0800, Tyler Retzlaff wrote: > The zero sized RTE_MARKER typedefs are a GCC extension unsupported by > MSVC. Replace the use of the RTE_MARKER typedefs with anonymous unions. > > Note: > > v1 of the series tried to maintain the API after some study it has been

[PATCH v2] RFC: replace GCC marker extension with C11 anonymous unions

2024-02-12 Thread Tyler Retzlaff
The zero sized RTE_MARKER typedefs are a GCC extension unsupported by MSVC. Replace the use of the RTE_MARKER typedefs with anonymous unions. Note: v1 of the series tried to maintain the API after some study it has been discovered that some existing uses of the markers do not produce compilation