[RFC PATCH 1/1] build: increase minimum C standard for DPDK builds

Morten Brørup mb at smartsharesystems.com
Thu Jan 12 13:42:48 CET 2023


> From: Bruce Richardson [mailto:bruce.richardson at intel.com]
> Sent: Thursday, 12 January 2023 12.36
> 
> Set the default C language standard to be used for DPDK builds to C99.
> This requires no actual code changes to build successfully.

Great!

> 
> To ensure compatibility is kept for external apps using DPDK headers,
> we
> explicitly set the build parameters for the chkincs binary to the old
> minimum standard of "gnu89". [NOTE: DPDK code does not compile and has
> previously not compiled for pure c89 standard, so that stricter
> requirement need not be checked.] By adding this additional check, we
> can separately manage C standards used internally in DPDK builds and
> that required in the build flags for external apps using DPDK.

It seems I have to accept this techboard decision for now. ;-)

> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---

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



More information about the dev mailing list