[ 
https://issues.apache.org/jira/browse/DISPATCH-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030396#comment-17030396
 ] 

Ganesh Murthy commented on DISPATCH-1560:
-----------------------------------------

One more error -
{noformat}
 /qpid-dispatch/src/connection_manager.c: In function 
‘qd_entity_refresh_connector’:
/qpid-dispatch/src/connection_manager.c:790:22: error: writing 1 byte into a 
region of size 0 [-Werror=stringop-overflow=]
  790 |     failover_info[0] = 0;
      |     ~~~~~~~~~~~~~~~~~^~~
/qpid-dispatch/src/connection_manager.c:789:10: note: at offset 0 to object 
‘failover_info.162’ with size 0 declared here
  789 |     char failover_info[arr_length];
      |          ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/qpid-dispatch.dir/build.make:159: 
src/CMakeFiles/qpid-dispatch.dir/connection_manager.c.o] Error 1{noformat}

> Compilation error on Fedora 32 (fedora rawhide)
> -----------------------------------------------
>
>                 Key: DISPATCH-1560
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1560
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Container
>    Affects Versions: 1.10.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>
> {noformat}
> /usr/bin/ld: 
> CMakeFiles/qpid-dispatch.dir/router_node.c.o:/builddir/build/BUILD/qpid-dispatch-1.9.0/include/qpid/dispatch/amqp.h:105:
>  multiple definition of `qd_amqp_type_t'; 
> CMakeFiles/qpid-dispatch.dir/amqp.c.o:/builddir/build/BUILD/qpid-dispatch-1.9.0/include/qpid/dispatch/amqp.h:105:
>  first defined here
> /usr/bin/ld: 
> CMakeFiles/qpid-dispatch.dir/router_pynode.c.o:/builddir/build/BUILD/qpid-dispatch-1.9.0/include/qpid/dispatch/amqp.h:105:
>  multiple definition of `qd_amqp_type_t'; 
> CMakeFiles/qpid-dispatch.dir/amqp.c.o:/builddir/build/BUILD/qpid-dispatch-1.9.0/include/qpid/dispatch/amqp.h:105:
>  first defined here
> /usr/bin/ld: 
> CMakeFiles/qpid-dispatch.dir/server.c.o:/builddir/build/BUILD/qpid-dispatch-1.9.0/include/qpid/dispatch/amqp.h:105:
>  multiple definition of `qd_amqp_type_t'; 
> CMakeFiles/qpid-dispatch.dir/amqp.c.o:/builddir/build/BUILD/qpid-dispatch-1.9.0/include/qpid/dispatch/amqp.h:105:
>  first defined here
> /usr/bin/ld: 
> CMakeFiles/qpid-dispatch.dir/timer.c.o:/builddir/build/BUILD/qpid-dispatch-1.9.0/include/qpid/dispatch/amqp.h:105:
>  multiple definition of `qd_amqp_type_t'; 
> CMakeFiles/qpid-dispatch.dir/amqp.c.o:/builddir/build/BUILD/qpid-dispatch-1.9.0/include/qpid/dispatch/amqp.h:105:
>  first defined here
> /usr/bin/ld: 
> CMakeFiles/qpid-dispatch.dir/http-libwebsockets.c.o:/builddir/build/BUILD/qpid-dispatch-1.9.0/include/qpid/dispatch/amqp.h:105:
>  multiple definition of `qd_amqp_type_t'; 
> CMakeFiles/qpid-dispatch.dir/amqp.c.o:/builddir/build/BUILD/qpid-dispatch-1.9.0/include/qpid/dispatch/amqp.h:105:
>  first defined here {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]

Reply via email to