qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5122) 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]
Date Thu, 12 Sep 2013 17:46:55 GMT

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

ASF subversion and git services commented on QPID-5122:
-------------------------------------------------------

Commit 1522681 from chug@apache.org in branch 'qpid/trunk'
[ https://svn.apache.org/r1522681 ]

QPID-5122: windows cleanup
                
> 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
>             Fix For: 0.25
>
>
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message