You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2019/08/05 14:28:41 UTC
svn commit: r1864438 - in /httpd/httpd/trunk/modules/filters:
mod_proxy_html.c mod_xml2enc.c
Author: rjung
Date: Mon Aug 5 14:28:41 2019
New Revision: 1864438
URL: http://svn.apache.org/viewvc?rev=1864438&view=rev
Log:
Use the right pragma syntax.
Follow-up to r1864435.
Modified:
httpd/httpd/trunk/modules/filters/mod_proxy_html.c
httpd/httpd/trunk/modules/filters/mod_xml2enc.c
Modified: httpd/httpd/trunk/modules/filters/mod_proxy_html.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_proxy_html.c?rev=1864438&r1=1864437&r2=1864438&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_proxy_html.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_proxy_html.c Mon Aug 5 14:28:41 2019
@@ -34,10 +34,10 @@
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
#pragma GCC diagnostic push
#endif
-#pragma GCC diagnostic ignored "-Werror=comment"
+#pragma GCC diagnostic warning "-Wcomment"
#elif defined(__clang__)
#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Werror=comment"
+#pragma clang diagnostic warning "-Wcomment"
#endif
/* libxml2 */
Modified: httpd/httpd/trunk/modules/filters/mod_xml2enc.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_xml2enc.c?rev=1864438&r1=1864437&r2=1864438&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_xml2enc.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_xml2enc.c Mon Aug 5 14:28:41 2019
@@ -29,11 +29,11 @@
#pragma GCC diagnostic push
#endif
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
-#pragma GCC diagnostic ignored "-Werror=comment"
+#pragma GCC diagnostic warning "-Wcomment"
#endif
#elif defined(__clang__)
#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Werror=comment"
+#pragma clang diagnostic warning "-Wcomment"
#endif
/* libxml2 */