]> granicus.if.org Git - apache/commit
The GCC flag "-Wno-error=comment" introduced by r1855446
authorRainer Jung <rjung@apache.org>
Mon, 5 Aug 2019 14:18:22 +0000 (14:18 +0000)
committerRainer Jung <rjung@apache.org>
Mon, 5 Aug 2019 14:18:22 +0000 (14:18 +0000)
commit40581b93919fbb18bc93c687d11db8e98f70fbfb
tree08ef85325086d7684917ce9cc56b5d83feb01f4e
parent61fdda63d39874fe8a3db218338c8ca1ac8971bb
The GCC flag "-Wno-error=comment" introduced by r1855446
and r1850745 are only known since GCC 4.2. Since it gets
set unconditionally, this breaks compilation with old GCC
even when not using maintainer mode.

Make the fix for maintainer mode more specific by using
a version dependent pragma in the relevant two C files
only switching off error status for comment warnings.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1864435 13f79535-47bb-0310-9956-ffa450edef68
modules/filters/config.m4
modules/filters/mod_proxy_html.c
modules/filters/mod_xml2enc.c