https://bz.apache.org/bugzilla/show_bug.cgi?id=63633

--- Comment #3 from Rainer Jung <[email protected]> ---
File configure.in uses macro APACHE_ADD_GCC_CFLAG from acinclude.m4 for gcc
feature detection. That macro puts the flag into NOTEST_CFLAGS which is then
copied elsewhere.

I think in the case here, it would be more appropriate to relax the comment
checking using -Wno-error=comment only for compilation of mod_proxy_html.c and
mod_xml2enc.c. So probably setting a special LIBXML_CPPFLAGS or such variable
and add it to the compilation line for mod_proxy_html.c and mod_xml2enc.c. The
macro code could be copied and adjusted from APACHE_ADD_GCC_CFLAG or if we go
for something a bit more generic, we could allow that macro to set a variable
whose name we inject (haven't tried this) and reuse it for both use cases.

To the OP: as a workaround currently you would need to manually remove
-Wno-error=comment from the following file/line after running configure and
before running make:

modules/filters/modules.mk:MOD_CPPFLAGS = -Wno-error=comment

As an alternativ, you could undo r1856931 in your 2.4.40 source, run buildconf
8which will regenerate configure without the part that adds the flag) and then
proceed building as normal.

Thanks for letting us know about the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to