From a1551e334d3cae6a4c0aa1e075a9f397648dddb3 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 12 Jan 2001 13:44:52 -0500 Subject: [svn-r3279] Purpose: Warning Reduction Description: Removed the -Wpointer-arith flag which complains about addintion with void * pointers. This is a known gcc 2.95.2 annoyance. There's still some issues with many str* warnings...not 7000, though. Platforms tested: Linux --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index fb429a3..7dacaec 100755 --- a/configure +++ b/configure @@ -1771,7 +1771,7 @@ done rm maketest if test "X$GCC" = "Xyes"; then - CFLAGS="$CFLAGS -ansi -pedantic -Wchar-subscripts -Wconversion -Wredundant-decls -Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline" + CFLAGS="$CFLAGS -ansi -pedantic -Wchar-subscripts -Wconversion -Wredundant-decls -Wall -W -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline" fi echo $ac_n "checking for production mode""... $ac_c" 1>&6 diff --git a/configure.in b/configure.in index b375918..1732c04 100644 --- a/configure.in +++ b/configure.in @@ -336,7 +336,7 @@ dnl ---------------------------------------------------------------------- dnl Turn on warning flags for gcc. dnl if test "X$GCC" = "Xyes"; then - CFLAGS="$CFLAGS -ansi -pedantic -Wchar-subscripts -Wconversion -Wredundant-decls -Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline" + CFLAGS="$CFLAGS -ansi -pedantic -Wchar-subscripts -Wconversion -Wredundant-decls -Wall -W -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline" fi dnl ---------------------------------------------------------------------- -- cgit v0.12