diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-11-10 14:46:48 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-11-10 14:46:48 +1100 |
commit | b0288098c9e9c4753e8e9537051eef4b7f417585 (patch) | |
tree | 2fd089d1ec3e9c7a072a2183d5fe8ce8c6ebbc32 /configure.ac | |
parent | 618db97fe17c7249cef1b53ed1adc9582b10f7f4 (diff) |
- (dtucker) [configure.ac] Disable pointer-sign warnings on gcc 4.0+
since they're not useful right now. Patch from djm@.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index afcd8aff..a7b8e800 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.303 2005/10/25 08:38:34 dtucker Exp $ +# $Id: configure.ac,v 1.304 2005/11/10 03:46:49 dtucker Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -90,7 +90,8 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then 1.*) ;; 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;; 2.*) ;; - *) CFLAGS="$CFLAGS -Wsign-compare" ;; + 3.*) CFLAGS="$CFLAGS -Wsign-compare" ;; + *) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign" ;; esac if test -z "$have_llong_max"; then |