configure: add '-Wlogical-op' to warning flags
[lttng-tools.git] / configure.ac
index c04a3cbb88fe27f3bd8bf86d69a7b2062abcef8f..8ca893f7512698fd159cbbc6f46b26c7f21fb702 100644 (file)
@@ -60,6 +60,8 @@ AC_TYPE_UINT8_T
 m4_define([WARN_FLAGS_COMMON_LIST], [ dnl
   -Wall dnl
   -Wnull-dereference dnl
+  -Wundef 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.023211 seconds and 4 git commands to generate.