[RFC v2 14/14] lib: enable format overflow warnings
Stephen Hemminger
stephen at networkplumber.org
Fri Dec 5 03:28:23 CET 2025
Enable compiler checking of format overflow
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
lib/meson.build | 4 ----
1 file changed, 4 deletions(-)
diff --git a/lib/meson.build b/lib/meson.build
index c8f4270868..8f5cfd28a5 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -113,10 +113,6 @@ default_cflags = machine_args
default_cflags += ['-DALLOW_EXPERIMENTAL_API']
default_cflags += ['-DALLOW_INTERNAL_API']
-if cc.has_argument('-Wno-format-truncation')
- default_cflags += '-Wno-format-truncation'
-endif
-
foreach l:libraries
build = true
reason = '<unknown reason>' # set if build == false to explain why
--
2.51.0
More information about the dev
mailing list