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

Compile error with HP C++ compiler

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.10
    • Fix Version/s: None
    • Component/s: XalanC
    • Labels:
      None
    • Environment:
      $ aCC -V
      aCC: HP ANSI C++ B3910B A.03.65

      Description

      While building xalan-c 1.10 on HP-UX 11.11 with the latest HP C++ compiler:
      gmake[2]: Leaving directory `/opt/build/xml-xalan/c/src/xalanc/Utils'
      aCC -AA -z +O2 +Onofltacc +Olit=all +DAportable +Oentrysched +Odataprefetch +Onolimit -DNDEBUG +Z -DHPUX -mt -DXALAN_INMEM_MSG_LOADER -c -I/opt/build/xml-xalan/c/src -I/opt/build/xml-xalan/c/include -I../../nls/include -I/opt/TWWfsw/libxercesc27/include -o ../../obj/XalanDOMString.o /opt/build/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp
      Error 176: "/opt/build/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp",
      line 898 # Size of array must be an integral constant expression of value
      greater than 0.
      TargetType theOneTranslatedWbChar[theOneTranslatedWbCharLen];
      ^^^^^^^^^^^^^^^^^^^^^^^^^
      gmake[1]: *** [../../obj/XalanDOMString.o] Error 2
      gmake[1]: Leaving directory `/opt/build/xml-xalan/c/src/xalanc'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                twwlogin The Written Word, Inc.
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: