From: Wilfried Goesgens Date: Wed, 7 Sep 2011 12:14:16 +0000 (+0000) Subject: disable warnings about strict aliasing; gcc does broken warnings here in conjunction... X-Git-Tag: v8.11~489 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=943f46156f8246aa15ae4e72e33d69db32f9fefb;hp=686a8267f3ad753143303673e21dfed5cb314447 disable warnings about strict aliasing; gcc does broken warnings here in conjunction with libev --- diff --git a/citadel/configure.ac b/citadel/configure.ac index c0f325b75..7943c3bf9 100644 --- a/citadel/configure.ac +++ b/citadel/configure.ac @@ -367,7 +367,7 @@ if test "$GCC" = yes; then CFLAGS="$CFLAGS -Wall -Wcast-qual -Wcast-align -Wno-char-subscripts $PTHREAD_DEFS" ;; *) - CFLAGS="$CFLAGS -Wall -Wcast-qual -Wcast-align -Wstrict-prototypes $PTHREAD_DEFS" + CFLAGS="$CFLAGS -Wall -Wcast-qual -Wcast-align -Wstrict-prototypes -Wno-strict-aliasing $PTHREAD_DEFS" ;; esac fi