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

Chuck Rolke commented on QPID-5126:
-----------------------------------

The code that fails is in cpp/src/qpid/legacystore/jrnl/jcfg.h
It just needs a processor/compiler ifdef for the ARM.

{noformat}
#if defined(__i386__) /* little endian, 32 bits */
#define JRNL_LITTLE_ENDIAN
#define JRNL_32_BIT
#elif defined(__PPC__) || defined(__s390__)  /* big endian, 32 bits */
#define JRNL_BIG_ENDIAN
#define JRNL_32_BIT
#elif defined(__ia64__) || defined(__x86_64__) || defined(__alpha__) /* little 
endian, 64 bits */
#define JRNL_LITTLE_ENDIAN
#define JRNL_64_BIT
#elif defined(__powerpc64__) || defined(__s390x__) /* big endian, 64 bits */
#define JRNL_BIG_ENDIAN
#define JRNL_64_BIT
#else
#error endian?
#endif
{noformat}
                
> Unable to compile legacy store on ARM platforms
> -----------------------------------------------
>
>                 Key: QPID-5126
>                 URL: https://issues.apache.org/jira/browse/QPID-5126
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>            Reporter: Darryl L. Pierce
>            Assignee: Darryl L. Pierce
>
> The code does not properly accomodate ARM platforms and fails to compile with:
> #error endian?

--
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