From: Rainer Jung Date: Mon, 5 Aug 2019 18:31:35 +0000 (+0000) Subject: Unfortunately -Wcomment can only be influenced X-Git-Tag: 2.5.0-alpha2-ci-test-only~1955 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7eadc31c9133043e755b1888ca398002616108e;p=thirdparty%2Fapache%2Fhttpd.git Unfortunately -Wcomment can only be influenced using a diagnostics pragma starting with GCC 4.6. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1864451 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_proxy_html.c b/modules/filters/mod_proxy_html.c index e514f91c738..2c55d1d6099 100644 --- a/modules/filters/mod_proxy_html.c +++ b/modules/filters/mod_proxy_html.c @@ -33,8 +33,6 @@ #if defined(__GNUC__) #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) #pragma GCC diagnostic push -#endif -#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2) #pragma GCC diagnostic warning "-Wcomment" #endif #elif defined(__clang__) diff --git a/modules/filters/mod_xml2enc.c b/modules/filters/mod_xml2enc.c index 37a57d2f754..7a0083c2378 100644 --- a/modules/filters/mod_xml2enc.c +++ b/modules/filters/mod_xml2enc.c @@ -27,8 +27,6 @@ #if defined(__GNUC__) #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) #pragma GCC diagnostic push -#endif -#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2) #pragma GCC diagnostic warning "-Wcomment" #endif #elif defined(__clang__)