From: Rainer Jung Date: Mon, 5 Aug 2019 18:31:35 +0000 (+0000) Subject: Unfortunately -Wcomment can only be influenced X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7eadc31c9133043e755b1888ca398002616108e;p=apache 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 e514f91c73..2c55d1d609 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 37a57d2f75..7a0083c237 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__)