https://bugzilla.redhat.com/170401 Dirk Nehring pointed out a missing cast in apreq_escape() and submitted a patch, see attachment. This appears to bite when using a C++ compiler with apreq_util.h.
Index: include/apreq_util.h =================================================================== --- include/apreq_util.h (revision 312921) +++ include/apreq_util.h (working copy) @@ -208,7 +208,7 @@ if (src == NULL) return NULL; - rv = apr_palloc(p, 3 * slen + 1); + rv = (char *)apr_palloc(p, 3 * slen + 1); apreq_encode(rv, src, slen); return rv; }