From b7b9bca439cb39ed33272b347673e67dbdec1234 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Fri, 21 Jan 2011 16:27:41 +0000 Subject: [PATCH] Mkae gcc no longer silent when doing arith on void*... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1061883 13f79535-47bb-0310-9956-ffa450edef68 --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 6df1629f1a..bdb6b7c265 100644 --- a/configure.in +++ b/configure.in @@ -529,7 +529,7 @@ AC_ARG_ENABLE(maintainer-mode,APACHE_HELP_STRING(--enable-maintainer-mode,Turn o [ APR_ADDTO(CPPFLAGS, -DAP_DEBUG) if test "$GCC" = "yes"; then - APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations]) + APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith]) AC_CACHE_CHECK([whether gcc accepts -Wdeclaration-after-statement], [ap_cv_cc_Wdas], [ save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -Wdeclaration-after-statement" -- 2.50.0