Enable -Wshadow globally for DPDK builds.
Signed-off-by: Bruce Richardson <[email protected]>
Acked-by: Chengwen Feng <[email protected]>
Acked-by: Stephen Hemminger <[email protected]>
---
config/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/config/meson.build b/config/meson.build
index 927dc18d21..dff4c44fad 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -329,6 +329,7 @@ global_cflags = [
'-Wnested-externs',
'-Wold-style-definition',
'-Wpointer-arith',
+ '-Wshadow',
'-Wsign-compare',
'-Wstrict-prototypes',
'-Wundef',
--
2.51.0