From aee8ca3fcbbcf4ed66c098070706efd2a6755a7e Mon Sep 17 00:00:00 2001 From: Gary Houston Date: Thu, 9 Dec 1999 19:48:41 +0000 Subject: [PATCH] * configure.in (CFLAGS): don't add -Wpointer-arith, since it causes numerous spurious warnings with recent gcc and/or glibc versions. --- ChangeLog | 6 ++++++ configure.in | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 61ace9fa5..48adfbbd0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-12-09 Gary Houston + + * configure.in (CFLAGS): don't add -Wpointer-arith, since it + causes numerous spurious warnings with recent gcc and/or glibc + versions. + 1999-11-19 Gary Houston * acconfig.h: add HAVE_ARRAYS. diff --git a/configure.in b/configure.in index da5b01673..818a5bbf6 100644 --- a/configure.in +++ b/configure.in @@ -421,7 +421,9 @@ case "$GCC" in ## We had -Wstrict-prototypes in here for a bit, but Guile does too ## much stuff with generic function pointers for that to really be ## less than exasperating. - CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wmissing-prototypes" ;; + ## -Wpointer-arith was here too, but something changed in gcc/glibc + ## and it became equally exasperating (gcc 2.95 and/or glibc 2.1.2). + CFLAGS="$CFLAGS -Wall -Wmissing-prototypes" ;; esac AC_PROG_AWK