[
https://issues.apache.org/jira/browse/DISPATCH-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ganesh Murthy resolved DISPATCH-1984.
-------------------------------------
Fix Version/s: 1.16.0
Resolution: Fixed
> [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
> Fix For: 1.16.0
>
>
> {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: [email protected]
For additional commands, e-mail: [email protected]