]
Jean-Frederic Clere closed MODCLUSTER-713.
------------------------------------------
Resolution: Done
Fixed by
error when build with httpd configure with --enable-maintainer-mode
-------------------------------------------------------------------
Key: MODCLUSTER-713
URL:
https://issues.redhat.com/browse/MODCLUSTER-713
Project: mod_cluster
Issue Type: Bug
Components: Native (httpd modules)
Reporter: Jean-Frederic Clere
Assignee: Jean-Frederic Clere
Priority: Major
you will get errors like:
+++
../include/node.h:241:1: error: function declaration isn’t a prototype
[-Werror=strict-prototypes]
241 | void (*lock_nodes)();
+++
or:
+++
mod_proxy_cluster.c:2965:6: error: no previous prototype for ‘remove_session_route’
[-Werror=missing-prototypes]
2965 | void remove_session_route(request_rec *r, const char *name)
| ^~~~~~~~~~~~~~~~~~~~
+++
or:
mod_proxy_cluster.c:3360:17: error: ‘strncpy’ specified bound 80 equals destination size
[-Werror=stringop-truncation]
3360 | strncpy(ou.JVMRoute, route, JVMROUTESZ);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~