Re: [PATCH v5 05/39] ring: use C11 alignas

2024-02-26 Thread Tyler Retzlaff
On Mon, Feb 26, 2024 at 01:23:35PM +, Konstantin Ananyev wrote: > > > > > > The current location used for __rte_aligned(a) for alignment of types > > and variables is not compatible with MSVC. There is only a single > > location accepted by both toolchains. > > > > For variables standard C1

RE: [PATCH v5 05/39] ring: use C11 alignas

2024-02-26 Thread Konstantin Ananyev
> > The current location used for __rte_aligned(a) for alignment of types > and variables is not compatible with MSVC. There is only a single > location accepted by both toolchains. > > For variables standard C11 offers alignas(a) supported by conformant > compilers i.e. both MSVC and GCC. > >

[PATCH v5 05/39] ring: use C11 alignas

2024-02-23 Thread Tyler Retzlaff
The current location used for __rte_aligned(a) for alignment of types and variables is not compatible with MSVC. There is only a single location accepted by both toolchains. For variables standard C11 offers alignas(a) supported by conformant compilers i.e. both MSVC and GCC. For types the standa