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