configure: add '-Wredundant-decls' to warning flags
[lttng-tools.git] / configure.ac
index 5a63255c4549435a3594c08d996642ba73b130ea..f75991a90148425ce99f8f990da8027b12f89000 100644 (file)
@@ -61,6 +61,9 @@ 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:
   dnl
   dnl /usr/include/setjmp.h:54:12: error: declaration of built-in function '__sigsetjmp' requires the declaration of the 'jmp_buf' type, commonly provided in the header <setjmp.h>. [-Werror,-Wincomplete-setjmp-declaration]
This page took 0.02307 seconds and 4 git commands to generate.