[ 
http://issues.apache.org/jira/browse/XERCESC-1502?page=comments#action_12329593 
] 

David Bertoni commented on XERCESC-1502:
----------------------------------------

I think we should determine the platform endianness through the configure 
script, rather than through hard-coded defines in the header files.  Since we 
are making major changes for the 3.0 release, we might as well try to do that 
now.

> xerces gets endianness wrong on Intel-based Macs
> ------------------------------------------------
>
>          Key: XERCESC-1502
>          URL: http://issues.apache.org/jira/browse/XERCESC-1502
>      Project: Xerces-C++
>         Type: Bug
>   Components: Miscellaneous
>     Versions: Nightly build (please specify the date)
>  Environment: Mac OS X on an Apple Developer Transition Kit
>     Reporter: Eric Albert
>  Attachments: diffs.tgz
>
> MacOSDefs.hpp currently says this:
>    // 
> ---------------------------------------------------------------------------
>    //  MacOS runs in big endian mode.
>    // 
> ---------------------------------------------------------------------------
>    #define ENDIANMODE_BIG
> That's wrong, or at least out of date -- Apple is shifting to Intel-based 
> Macs and will support both PowerPC and Intel systems moving forward.  The 
> Intel-based Macs are of course little-endian.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
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