httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1810998 - /httpd/httpd/trunk/configure.in
Date Tue, 03 Oct 2017 12:53:05 GMT
Author: jim
Date: Tue Oct  3 12:53:04 2017
New Revision: 1810998

URL: http://svn.apache.org/viewvc?rev=1810998&view=rev
Log:
Also affects official clang 5 (maybe older ones too...)

Modified:
    httpd/httpd/trunk/configure.in

Modified: httpd/httpd/trunk/configure.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/configure.in?rev=1810998&r1=1810997&r2=1810998&view=diff
==============================================================================
--- httpd/httpd/trunk/configure.in (original)
+++ httpd/httpd/trunk/configure.in Tue Oct  3 12:53:04 2017
@@ -631,7 +631,7 @@ AC_ARG_ENABLE(maintainer-mode,APACHE_HEL
     if test "$GCC" = "yes"; then
       APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-Wpointer-arith])
       case `($CC --version) 2>/dev/null` in
-        *clang-900*)
+        *clang-900* | *"clang version 5.0.0"*)
           APACHE_ADD_GCC_CFLAG([-Wno-error=strict-prototypes])
           ;;
       esac
@@ -662,7 +662,7 @@ AC_ARG_ENABLE(debugger-mode,APACHE_HELP_
     if test "$GCC" = "yes"; then
       APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-Wpointer-arith -O0])
       case `($CC --version) 2>/dev/null` in
-        *clang-900*)
+        *clang-900* | *"clang version 5.0.0"*)
           APACHE_ADD_GCC_CFLAG([-Wno-error=strict-prototypes])
           ;;
       esac



Mime
View raw message