]> granicus.if.org Git - apache/commitdiff
Make the work-around for C++ style comments causing fatal errors in
authorJim Jagielski <jim@apache.org>
Wed, 13 Mar 2019 17:56:36 +0000 (17:56 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 13 Mar 2019 17:56:36 +0000 (17:56 +0000)
maintainer-mode for later versions of clang module compile specific
(we will still SEE the errors though when buidlin)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1855446 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/config.m4

index 082363a0bc7f27f442a6a42f8cca62ae3d7b44c0..f647f54e83cfe8cbe6df92b45b74c6c7fec276da 100644 (file)
@@ -116,7 +116,7 @@ AC_DEFUN([FIND_LIBXML2], [
       XML2_INCLUDES="${xml2_path}"
       dnl libxml2 includes unicode/*.h files which uses C++ comments
       if test "$GCC" = "yes"; then
-        APACHE_ADD_GCC_CFLAG([-Wno-error=comment])
+        APR_ADDTO(MOD_CPPFLAGS, ["-Wno-error=comment"])
       fi
     else
       ac_cv_libxml2=no