qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Rolke (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 21:43:52 GMT

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

Chuck Rolke commented on QPID-5122:
-----------------------------------

Commit r1522681 is unrelated to this issue. It's hard to tell which change caused the issue
in windows that r1522681 fixes. Possibly QPID-5040 needed the simple extern statement. Commit
r1522681 could have been filed as NO-JIRA: as it's a routine cleanup maintenance item. Sorry
for the noise.
                
> 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