24/06/2025 21:58, Edvard Fagerholm:
> RTE_FORCE_INTRINSICS with a C++ compiler causes rte_atomic.h and
> rte_byteorder.h to emit on x86 an extern "C" without a closing
> brace.
>
> Signed-off-by: Edvard Fagerholm <[email protected]>
> Acked-by: Bruce Richardson <[email protected]>
Added root cause tracking:
Fixes: 719834a6849e ("use C linkage where appropriate in headers")
Cc: [email protected]
And changed the #endif comments to show the #ifndef condition is negative
with an exclamation mark:
#endif /* !RTE_FORCE_INTRINSICS */
Applied, thanks and welcome!
PS: I see you used AI to code your DPDK app, that's interesting
and we will probably look to improve such tools in a near future.
PS2: Thanks for the mobile games ;)