X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=configure.ac;h=a997ba3b9e6c62d2e6148ecb09ae1b524cabaa27;hp=7b284593474f4d7109dbb57a2659c9e5a7ca1adf;hb=b670b3048650a2568e1fd782843252bb237851cb;hpb=234009e7170dbdbb857375718fa7249e6083bd25 diff --git a/configure.ac b/configure.ac index 7b2845934..a997ba3b9 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,13 @@ AM_CONDITIONAL([CXX_WORKS], [test "x$rw_cv_prog_cxx_works" = "xyes"]) # -Wunknown-warning-option diagnostic fatal with clang. AX_APPEND_COMPILE_FLAGS([ dnl -Wall 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 . [-Werror,-Wincomplete-setjmp-declaration] + dnl extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __THROWNL; + dnl ^ + -Wno-incomplete-setjmp-declaration dnl + -Wdiscarded-qualifiers dnl ], [WARN_CFLAGS], [-Werror])