Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-572

Compile failure on SuSE80AMD_64b_GCC322

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.10
    • 1.10
    • XalanC
    • None
    • SuSE80AMD_64b_GCC322

    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 }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dbertoni David N Bertoni
            azinyk Ashley Zinyk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment