> -----Original Message----- > From: Tyler Retzlaff <[email protected]> > Sent: Thursday, January 25, 2024 12:18 AM > To: [email protected] > Cc: Akhil Goyal <[email protected]>; Andrew Rybchenko > <[email protected]>; > Anoob Joseph <[email protected]>; Ferruh Yigit <[email protected]>; > Honnappa Nagarahalli > <[email protected]>; Jerin Jacob <[email protected]>; Konstantin > Ananyev > <[email protected]>; Nithin Kumar Dabilpuram > <[email protected]>; Ori Kam > <[email protected]>; Pavan Nikhilesh Bhagavatula <[email protected]>; > Thomas Monjalon > <[email protected]>; Volodymyr Fialko <[email protected]>; Tyler Retzlaff > <[email protected]> > 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 <[email protected]> > --- > 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 <[email protected]> /Volodymyr

