[PATCH] devtools: forbid use of compiler pragmas

Morten Brørup mb at smartsharesystems.com
Thu Jan 30 09:45:25 CET 2025


> From: David Marchand [mailto:david.marchand at redhat.com]
> Sent: Thursday, 30 January 2025 09.38
> 
> Using pragma must be prevented to avoid breaking builds with other
> compilers.
> Let EAL use them (like for abstraction macros).

You are only allowing them in rte_common.h.
Do we need them elsewhere in EAL?
Not that I think so, but the patch description could be interpreted that way.

> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---

Good idea!

Acked-by: Morten Brørup <mb at smartsharesystems.com>



More information about the dev mailing list