Darryl L. Pierce created QPID-5122:
--------------------------------------

             Summary: 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]

Reply via email to