- (dtucker) [configure.ac] Disable pointer-sign warnings on gcc 4.0+

since they're not useful right now.  Patch from djm@.
This commit is contained in:
Darren Tucker 2005-11-10 14:46:48 +11:00
parent 618db97fe1
commit b0288098c9
2 changed files with 6 additions and 3 deletions

View File

@ -8,6 +8,8 @@
revs 1.7 - 1.9.
- (dtucker) [auth-krb5.c] Fix -Wsign-compare warning in non-Heimdal path.
Patch from djm@.
- (dtucker) [configure.ac] Disable pointer-sign warnings on gcc 4.0+
since they're not useful right now. Patch from djm@.
20051105
- (djm) OpenBSD CVS Sync
@ -3250,4 +3252,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3958 2005/11/10 03:43:11 dtucker Exp $
$Id: ChangeLog,v 1.3959 2005/11/10 03:46:48 dtucker Exp $

View File

@ -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