[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-713) error when build with httpd configure with --enable-maintainer-mode

Jean-Frederic Clere (Jira) issues at jboss.org
Sun Mar 29 05:32:18 EDT 2020


     [ https://issues.redhat.com/browse/MODCLUSTER-713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Frederic Clere closed MODCLUSTER-713.
------------------------------------------
    Resolution: Done


Fixed by https://github.com/modcluster/mod_proxy_cluster/commit/811f9390bae227e4f123e589155bcde3b5ccab13

> 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);
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the mod_cluster-issues mailing list