Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1984

[http1] compilation issue on s390

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.15.0
    • 1.16.0
    • Protocol Adaptors
    • None

    Description

      [  7%] Building C object src/CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_client.c.o
      cd /builddir/build/BUILD/qpid-dispatch-1.15.0/src && /usr/bin/cc  -Dqpid_dispatch_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m31 -march=z196 -mtune=zEC12   -std=gnu99 -O2 -g -DNDEBUG -fPIC -I/builddir/build/BUILD/qpid-dispatch-1.15.0/include -I/usr/include/python2.7 -I/builddir/build/BUILD/qpid-dispatch-1.15.0/src -I/builddir/build/BUILD/qpid-dispatch-1.15.0/src/router_core    -Werror -Wall -Wpedantic -o CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_client.c.o   -c /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c
      /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c: In function '_create_client_connection':
      /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:150:29: error: assignment from incompatible pointer type [-Werror]
           config.rx_body          = _client_rx_body_cb;
                                   ^
      /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c: At top level:
      /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:889:12: error: conflicting types for '_client_rx_body_cb'
       static int _client_rx_body_cb(h1_codec_request_state_t *hrs, qd_buffer_list_t *body, size_t len,
                  ^
      /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:109:12: note: previous declaration of '_client_rx_body_cb' was here
       static int _client_rx_body_cb(h1_codec_request_state_t *lib_rs, qd_buffer_list_t *body, uintmax_t len, bool more);
                  ^
      /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:109:12: error: '_client_rx_body_cb' used but never defined [-Werror]
      /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:889:12: error: '_client_rx_body_cb' defined but not used [-Werror=unused-function]
       static int _client_rx_body_cb(h1_codec_request_state_t *hrs, qd_buffer_list_t *body, size_t len,
                  ^
      cc1: all warnings being treated as errors 

      Attachments

        Activity

          People

            gmurthy Ganesh Murthy
            gmurthy Ganesh Murthy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: