> -----Original Message----- > From: Tyler Retzlaff <roret...@linux.microsoft.com> > Sent: Thursday, January 25, 2024 12:18 AM > To: dev@dpdk.org > Cc: Akhil Goyal <gak...@marvell.com>; Andrew Rybchenko > <andrew.rybche...@oktetlabs.ru>; > Anoob Joseph <ano...@marvell.com>; Ferruh Yigit <ferruh.yi...@amd.com>; > Honnappa Nagarahalli > <honnappa.nagaraha...@arm.com>; Jerin Jacob <jer...@marvell.com>; Konstantin > Ananyev > <konstantin.v.anan...@yandex.ru>; Nithin Kumar Dabilpuram > <ndabilpu...@marvell.com>; Ori Kam > <or...@nvidia.com>; Pavan Nikhilesh Bhagavatula <pbhagavat...@marvell.com>; > Thomas Monjalon > <tho...@monjalon.net>; Volodymyr Fialko <vfia...@marvell.com>; Tyler Retzlaff > <roret...@linux.microsoft.com> > Subject: [EXT] [PATCH 8/9] reorder: use C11 alignof > > External Email > > ---------------------------------------------------------------------- > Replace use of __alignof__(T) with C11 alignof(T) to improve portability > between toolchains. > > Signed-off-by: Tyler Retzlaff <roret...@linux.microsoft.com> > --- > lib/reorder/rte_reorder.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >
__alignof__ is supported by GCC from C99, but since DPDK 23.11 C11 compiler is required anyway, It should be fine to switch. Acked-by: Volodymyr Fialko <vfia...@marvell.com> /Volodymyr