From 6e316e269f6feb8d981514cf657cb55270fb5ddc Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sat, 31 May 2014 17:11:48 +0200 Subject: [PATCH] Add -Wshorten-64-to-32 to configure.ac --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 60ef3b80..bbcb96a6 100644 --- a/configure.ac +++ b/configure.ac @@ -454,6 +454,7 @@ if test "x$werror" != "xno"; then AX_CHECK_COMPILE_FLAG([-Waddress], [CFLAGS="$CFLAGS -Waddress"]) AX_CHECK_COMPILE_FLAG([-Wattributes], [CFLAGS="$CFLAGS -Wattributes"]) AX_CHECK_COMPILE_FLAG([-Wdiv-by-zero], [CFLAGS="$CFLAGS -Wdiv-by-zero"]) + AX_CHECK_COMPILE_FLAG([-Wshorten-64-to-32], [CFLAGS="$CFLAGS -Wshorten-64-to-32"]) # Only work with Clang for the moment AX_CHECK_COMPILE_FLAG([-Wheader-guard], [CFLAGS="$CFLAGS -Wheader-guard"])