]> granicus.if.org Git - apache/commit
Fix maintainer mode with GCC/Clang.
authorRainer Jung <rjung@apache.org>
Mon, 16 Oct 2017 09:22:38 +0000 (09:22 +0000)
committerRainer Jung <rjung@apache.org>
Mon, 16 Oct 2017 09:22:38 +0000 (09:22 +0000)
commit0da02415a578512570aaee6598e1dfc07ce42e4d
treee7e10cec97916baf06b73404497f229e56796867
parent6958a604434bd89eb20a2cda4a62bcfe4b84eb62
Fix maintainer mode with GCC/Clang.

Setting -Wstrict-prototypes in combination
with -Werror leads to compiler errors during
configure checks (autoconf generates incomplete
prototypes).

Adding -Wno-error=strict-prototypes lets the
compiler tolerate those.

Possible future enhancement: remember such
"configure time only" flags and remove them
from CFLAGS before generating our build time
files (Makefile, config_vars.mk etc.), so that
the full -Werror is in place during building.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1812263 13f79535-47bb-0310-9956-ffa450edef68
configure.in