]> granicus.if.org Git - apache/commitdiff
Mkae gcc no longer silent when doing arith on void*...
authorJim Jagielski <jim@apache.org>
Fri, 21 Jan 2011 16:27:41 +0000 (16:27 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 21 Jan 2011 16:27:41 +0000 (16:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1061883 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 6df1629f1ac411133b3d71500f8795680dcf4f8c..bdb6b7c26520ff8b726e78ce3710d5a199f0b204 100644 (file)
@@ -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"