Compile failure on SuSE80AMD_64b_GCC322
---------------------------------------

         Key: XALANC-572
         URL: http://issues.apache.org/jira/browse/XALANC-572
     Project: XalanC
        Type: Bug
  Components: XalanC  
    Versions: 1.10    
 Environment: SuSE80AMD_64b_GCC322
    Reporter: Ashley Zinyk
     Fix For: 1.10


The patch made for XALANC-569 fixed Solaris and HPUX, but broke 
SuSE80AMD_64b_GCC322.  The compile command and error message are:

gcc -g     -DXML_BITSTOBUILD_64    -Wall -fPIC -DLINUX -D_REENTRANT 
-DXALAN_INMEM_MSG_LOADER -c 
-I/home2/db2xslt/BuildClient/xalanc_root/LatestC-CVS-suse_80_AMD_64-gcc_32/c/src
 
-I/home2/db2xslt/BuildClient/xalanc_root/LatestC-CVS-suse_80_AMD_64-gcc_32/c/include
 -I../../nls/include 
-I/home2/db2xslt/BuildClient/xalanc_root/xerces-c_2_7_0-suse_80_AMD_64-gcc_32/src/
 
-I/home2/db2xslt/BuildClient/xalanc_root/xerces-c_2_7_0-suse_80_AMD_64-gcc_32/include/xercesc
 
-I/home2/db2xslt/BuildClient/xalanc_root/xerces-c_2_7_0-suse_80_AMD_64-gcc_32/include/
  -o ../../obj/DoubleSupport.o 
/home2/db2xslt/BuildClient/xalanc_root/LatestC-CVS-suse_80_AMD_64-gcc_32/c/src/xalanc/PlatformSupport/DoubleSupport.cpp
/home2/db2xslt/BuildClient/xalanc_root/LatestC-CVS-suse_80_AMD_64-gcc_32/c/src/xalanc/Include/PlatformDefinitions.hpp:
 In instantiation of `xalanc_1_10::XalanCompileErrorBoolean<false>':
/home2/db2xslt/BuildClient/xalanc_root/LatestC-CVS-suse_80_AMD_64-gcc_32/c/src/xalanc/PlatformSupport/DoubleSupport.cpp:73:
   instantiated from here
/home2/db2xslt/BuildClient/xalanc_root/LatestC-CVS-suse_80_AMD_64-gcc_32/c/src/xalanc/Include/PlatformDefinitions.hpp:126:
 creating
   array with size zero (`false')
gmake[1]: *** [../../obj/DoubleSupport.o] Error 1

The offending code in DoubleSupport.cpp is:
    69  #else
    70      s_NaN.d = sqrt(-2.01);
    71  #endif
    72  #elif !defined(XALAN_NO_STD_NAMESPACE)
    73      XALAN_STATIC_ASSERT(std::numeric_limits<double>::has_quiet_NaN);
    74  #endif
    75  }

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