From ad5e31e2031349c9b9d0bf5d9fcaa1ea7950db58 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Tue, 26 Mar 2013 17:58:39 -0400 Subject: Fixes for warnings from clang++, from -std=gnu++0x, from swig, and from javac --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a4b8892ab..b8127592f 100644 --- a/configure.ac +++ b/configure.ac @@ -743,11 +743,17 @@ AC_SUBST([CVC4_NEED_INT64_T_OVERLOADS]) # Check for ANTLR runantlr script (defined in config/antlr.m4) AC_PROG_ANTLR +CVC4_CXX_OPTION([-Werror], [WERROR]) CVC4_CXX_OPTION([-Wno-conversion-null], [WNO_CONVERSION_NULL]) +CVC4_CXX_OPTION([-Wno-tautological-compare], [WNO_TAUTOLOGICAL_COMPARE]) +CVC4_CXX_OPTION([-Wno-parentheses], [WNO_PARENTHESES]) CVC4_CXX_OPTION([-Wno-uninitialized], [WNO_UNINITIALIZED]) CVC4_CXX_OPTION([-Wno-unused-variable], [WNO_UNUSED_VARIABLE]) CVC4_CXX_OPTION([-fno-strict-aliasing], [FNO_STRICT_ALIASING]) +AC_SUBST([WERROR]) AC_SUBST([WNO_CONVERSION_NULL]) +AC_SUBST([WNO_TAUTOLOGICAL_COMPARE]) +AC_SUBST([WNO_PARENTHESES]) AC_SUBST([WNO_UNINITIALIZED]) AC_SUBST([WNO_UNUSED_VARIABLE]) AC_SUBST([FNO_STRICT_ALIASING]) -- cgit v1.2.3