X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=e3b23f4658b87874b857eec6774050c93474fda3;hb=016941a164cf20c4ae6b90c3ea6f9b7efc562a49;hp=7b284593474f4d7109dbb57a2659c9e5a7ca1adf;hpb=1e140cc0270aac11479a9cdb1333cf0e25cb1060;p=deliverable%2Flttng-tools.git diff --git a/configure.ac b/configure.ac index 7b2845934..e3b23f465 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,12 @@ 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 ], [WARN_CFLAGS], [-Werror])