[PATCH v12 8/8] test: re-enable format-truncation warnings

Stephen Hemminger stephen at networkplumber.org
Wed Jan 21 22:06:28 CET 2026


Tests should be built with warnings.

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Marat Khalili <marat.khalili at huawei.com>
---
 app/test/meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app/test/meson.build b/app/test/meson.build
index f4d04a6e42..48874037eb 100644
--- a/app/test/meson.build
+++ b/app/test/meson.build
@@ -261,7 +261,6 @@ cflags += no_shadow_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



More information about the dev mailing list