If -fanalyzer is added to config/meson.build than compiler finds lots of potential problems. (Think of it as free version of Coverity). The output is quite verbose. Is it worth putting large N of new bugs into bugzilla or maybe maintainers could take a look. Full build output is 12M so attaching it. Quick hack to enable is. diff --git a/config/meson.build b/config/meson.build index 5095d2fbcb..43c2a6d97b 100644 --- a/config/meson.build +++ b/config/meson.build @@ -308,6 +308,8 @@ endif # -Wall is added by default at warning level 1, and -Wextra # at warning level 2 (DPDK default) warning_flags = [ + '-fanalyzer', + # additional warnings in alphabetical order '-Wcast-qual', '-Wdeprecated', ~/DPDK/main $