[PATCH v10 9/9] test: re-enable format-truncation warnings

Marat Khalili marat.khalili at huawei.com
Fri Jan 2 15:55:16 CET 2026


> -----Original Message-----
> From: Stephen Hemminger <stephen at networkplumber.org>
> Sent: Monday 29 December 2025 21:59
> To: dev at dpdk.org
> Cc: Stephen Hemminger <stephen at networkplumber.org>; Bruce Richardson <bruce.richardson at intel.com>
> Subject: [PATCH v10 9/9] test: re-enable format-truncation warnings
> 
> Tests should be built with warnings.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
>  app/test/meson.build | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/app/test/meson.build b/app/test/meson.build
> index efec42a6bf..b00260c0e9 100644
> --- a/app/test/meson.build
> +++ b/app/test/meson.build
> @@ -260,7 +260,6 @@ cflags += no_wvla_cflag
>  extra_flags = [
>          # Strict-aliasing rules are violated by uint8_t[] to context size casts.
>          '-fno-strict-aliasing',
> -        '-Wno-format-truncation',
>  ]
> 
>  foreach arg: extra_flags
> --
> 2.51.0

Acked-by: Marat Khalili <marat.khalili at huawei.com>


More information about the dev mailing list