configure: add '-Wredundant-decls' to warning flags
[lttng-tools.git] / configure.ac
index 65f9b0f75e57ad85d1161944a826d834b7962d10..f75991a90148425ce99f8f990da8027b12f89000 100644 (file)
@@ -61,6 +61,7 @@ m4_define([WARN_FLAGS_COMMON_LIST], [ dnl
   -Wall dnl
   -Wnull-dereference dnl
   -Wundef dnl
+  -Wredundant-decls dnl
   -Wmissing-noreturn dnl
   -Wlogical-op dnl
   dnl We currently get this warning when building with Clang:
This page took 0.022496 seconds and 4 git commands to generate.