Hello,

The mbuf structure [1] has __extension__ here,
i.e. preceding the structure following the integer field,
instead of preceding the union.

[1]: https://git.dpdk.org/dpdk/tree/lib/mbuf/rte_mbuf_core.h#n520

+1 anonymous unions are standard C so __extension__ is not necessary, it
is necessary for an anonymous struct.


That was fixed in the v4: https://mails.dpdk.org/archives/dev/2024-June/295803.html

Regards,
Gregory

Reply via email to