tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Limiting -Wno-error=format-truncation to specific GCC version



On 10/28, David Brownlee wrote:
> For reference, in the end went with:
> 
> .if !empty(CC_VERSION:Mgcc-8*)
> CFLAGS+=        -Wno-error=format-truncation
> .endif
> 
> David

That looks like it just matches gcc-8, not gcc-8 or above.  For example,
that won't match gcc-9.  Weren't you trying to match gcc-8 or above?

Lewis


Home | Main Index | Thread Index | Old Index