Re: [PATCH] devtools: forbid use of compiler pragmas

2025-07-21 Thread Thomas Monjalon
30/01/2025 09:52, David Marchand: > On Thu, Jan 30, 2025 at 9:45 AM Morten Brørup > wrote: > > > > > From: David Marchand [mailto:david.march...@redhat.com] > > > Sent: Thursday, 30 January 2025 09.38 > > > > > > Using pragma must be prevented to avoid breaking builds with other > > > compilers.

Re: [PATCH] devtools: forbid use of compiler pragmas

2025-02-04 Thread Thomas Monjalon
30/01/2025 09:37, David Marchand: > Using pragma must be prevented to avoid breaking builds with other > compilers. > Let EAL use them (like for abstraction macros). > > Signed-off-by: David Marchand > --- > + # forbid use of #pragma > + awk -v FOLDERS='lib drivers app examples' \ > +

Re: [PATCH] devtools: forbid use of compiler pragmas

2025-01-30 Thread David Marchand
On Thu, Jan 30, 2025 at 9:45 AM Morten Brørup wrote: > > > From: David Marchand [mailto:david.march...@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)

RE: [PATCH] devtools: forbid use of compiler pragmas

2025-01-30 Thread Morten Brørup
> From: David Marchand [mailto:david.march...@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 elsew