Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/XERCESC-1255 Here is an overview of the issue: --------------------------------------------------------------------- Key: XERCESC-1255 Summary: Solaris builds assume big endian Type: Bug Status: Unassigned Priority: Major Project: Xerces-C++ Versions: 2.4.0 2.5.0 Assignee: Reporter: Neil Sharman Created: Tue, 17 Aug 2004 10:14 PM Updated: Tue, 17 Aug 2004 10:14 PM Environment: Solaris x86 Description: The Solaris build assumes that the endianess of the chip is big endian. This is true for SPARC chips but not true for x86 chips. The following patch should be applied to SolarisDefs.hpp so that it gets the endianess right. --- src/xercesc/util/Platforms/Solaris/SolarisDefs.hpp Fri Aug 6 18:36:33 2004 +++ SolarisDefs.hpp Wed Aug 18 14:34:21 2004 @@ -83,9 +83,17 @@ // --------------------------------------------------------------------------- -// SPARC runs in big endian mode +// Detect endian mode // --------------------------------------------------------------------------- +#include <sys/isa_defs.h> +#ifdef _LITTLE_ENDIAN + #define ENDIANMODE_LITTLE +#elif defined(_BIG_ENDIAN) #define ENDIANMODE_BIG +#else + #error : unknown byte order! +#endif + typedef int FileHandle; #ifndef SOLARIS --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]