notroj opened a new pull request, #77: URL: https://github.com/apache/apr/pull/77
The Linux CI jobs which build with `-Werror` currently fail on trunk: ``` uri/apr_uri.c: In function 'detect_scope_zone_id': uri/apr_uri.c:106:7: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] ``` `detect_scope_zone_id()` assigns the result of `memchr()` on a `const char *` to a `char *`. With a C library where `memchr()` preserves the const qualifier of its argument, that is a warning, and so an error with `-Werror`. The pointer is only read through, so it is now declared `const char *`. This was the only such warning in a full build here (Fedora 44); `testuri` passes. This does not address the Windows "Use Libxml2" and "Static: All" jobs, which fail in their Test step on trunk for a different reason. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
