configure: add '-Wmissing-noreturn' to warning flags
[lttng-tools.git] / configure.ac
index 663636258a25ba39bf7a9de27a08a45e4f8748c8..65f9b0f75e57ad85d1161944a826d834b7962d10 100644 (file)
@@ -59,6 +59,10 @@ AC_TYPE_UINT8_T
 # WARN_CFLAGS and WARN_CXXFLAGS.
 m4_define([WARN_FLAGS_COMMON_LIST], [ dnl
   -Wall dnl
+  -Wnull-dereference dnl
+  -Wundef 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.023341 seconds and 4 git commands to generate.