[ https://issues.apache.org/jira/browse/DISPATCH-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17293738#comment-17293738 ] ASF subversion and git services commented on DISPATCH-1984: ----------------------------------------------------------- Commit a401f249d6a6b8b8c19740161a01c4ebfdab5565 in qpid-dispatch's branch refs/heads/master from Ganesh Murthy [ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=a401f24 ] DISPATCH-1984: Matched the method signature of _client_rx_body_cb with the implementation. Modified uintmax_t len to size_t len > [http1] compilation issue on s390 > --------------------------------- > > Key: DISPATCH-1984 > URL: https://issues.apache.org/jira/browse/DISPATCH-1984 > Project: Qpid Dispatch > Issue Type: Bug > Components: Protocol Adaptors > Affects Versions: 1.15.0 > Reporter: Ganesh Murthy > Assignee: Ganesh Murthy > Priority: Major > > {noformat} > [ 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 {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
Free forum by Nabble | Edit this page |