Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-713

error when build with httpd configure with --enable-maintainer-mode

    XMLWordPrintable

Details

    Description

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

      Attachments

        Activity

          People

            rhn-engineering-jclere Jean-Frederic Clere
            rhn-engineering-jclere Jean-Frederic Clere
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: