[
https://issues.apache.org/jira/browse/QPID-5122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762952#comment-13762952
]
ASF subversion and git services commented on QPID-5122:
-------------------------------------------------------
Commit 1521433 from [~gsim] in branch 'qpid/trunk'
[ https://svn.apache.org/r1521433 ]
QPID-5122: cleaner encoding of index for delivery tags
> Error compling on ARM platforms: cast from 'const char*' to 'const size_t*
> {aka const unsigned int*}' increases required alignment of target type
> [-Werror=cast-align]
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-5122
> URL: https://issues.apache.org/jira/browse/QPID-5122
> Project: Qpid
> Issue Type: Bug
> Components: Build Tools
> Affects Versions: 0.24
> Reporter: Darryl L. Pierce
> Assignee: Gordon Sim
>
> When compiling the 0.24 build on ARM with the fix from QPID-4670 the
> following error occurs:
> /builddir/build/BUILD/qpid-0.24/cpp/src/qpid/broker/amqp/Outgoing.cpp:95:58:
> error: cast from 'const char*' to 'const size_t* {aka const unsigned int*}'
> increases required alignment of target type [-Werror=cast-align]
> size_t i = *reinterpret_cast<const size_t*>(tag.bytes);
> ^
> cc1plus: all warnings being treated as errors
> make[2]: Leaving directory `/builddir/build/BUILD/qpid-0.24/cpp'
> make[2]: *** [src/CMakeFiles/amqp.dir/qpid/broker/amqp/Outgoing.o] Error 1
> /usr/bin/cmake -E cmake_progress_report
> /builddir/build/BUILD/qpid-0.24/cpp/CMakeFiles
> make[1]: *** [src/CMakeFiles/amqp.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]