[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
Mon Feb 17 13:32:01 EST 2020


Jean-Frederic Clere created MODCLUSTER-713:
----------------------------------------------

             Summary: 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: Radoslav Husar


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