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

TestXSLT/process.cpp compilation fails, interface broken in FormatterToText.hpp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9
    • CurrentCVS
    • XalanC
    • None
    • SuSE-9.2, i386, gcc-3.3.4, xerces-c-2.6.0 (built and installed from sources)

    Description

      Tried to build xalan-c++ from sources (Xalan-C_current-src.tar.gz, 22-Dec-2004). The libraries (libxalan-c.so.19.0 and libxalanMsg.so.19.0) have been built fine, but compilation stops at:

      g++ -O2 -DNDEBUG -fno-elide-constructors -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c-I/home/aweiss/xml-xalan/c/src -I/home/aweiss/xml-xalan/c/include -I../../nls/include -I/home/aweiss/xerces-c-src_2_6_0/src/ -I/home/aweiss/xerces-c-src_2_6_0/include/xercesc -I/home/aweiss/xerces-c-src_2_6_0/include/ -o ../../obj/process.o /home/aweiss/xml-xalan/c/src/xalanc/TestXSLT/process.cpp
      /home/aweiss/xml-xalan/c/src/xalanc/TestXSLT/process.cpp: In function `
      xalanc_1_9::FormatterListener* createFormatter(int, bool, bool, bool, bool,
      xalanc_1_9::PrintWriter&, int, const xalanc_1_9::XalanDOMString&, const
      xalanc_1_9::StylesheetRoot*, xalanc_1_9::XercesParserLiaison&,
      xalanc_1_9::XalanSourceTreeParserLiaison&, const
      xalanc_1_9::PrefixResolver&, const xalanc_1_9::XalanDocument*&)':
      /home/aweiss/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:631: error: no
      matching function for call to `xalanc_1_9::FormatterToText::FormatterToText(
      xercesc_2_6::MemoryManager&, xalanc_1_9::PrintWriter&, const
      xalanc_1_9::XalanDOMString&)'
      /home/aweiss/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:224: error: candidates
      are: xalanc_1_9::FormatterToText::FormatterToText(const
      xalanc_1_9::FormatterToText&)
      /home/aweiss/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:82: error:

      xalanc_1_9::FormatterToText::FormatterToText(xalanc_1_9::Writer&, const
      xalanc_1_9::XalanDOMString&, bool, bool, xalanc_1_9::MemoryManagerType&)
      /home/aweiss/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:67: error:

      xalanc_1_9::FormatterToText::FormatterToText(xalanc_1_9::Writer&, bool,
      bool, xalanc_1_9::MemoryManagerType&)
      /home/aweiss/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:54: error:

      xalanc_1_9::FormatterToText::FormatterToText(xalanc_1_9::MemoryManagerType&)
      /home/aweiss/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:666: error: no
      matching function for call to `xalanc_1_9::FormatterToHTML::FormatterToHTML(
      xercesc_2_6::MemoryManager&, xalanc_1_9::PrintWriter&, const
      xalanc_1_9::XalanDOMString&, xalanc_1_9::XalanDOMString&,
      xalanc_1_9::XalanDOMString&, xalanc_1_9::XalanDOMString&, bool&, int&)'
      /home/aweiss/xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML.hpp:51: error: candidates
      are: xalanc_1_9::FormatterToHTML::FormatterToHTML(const
      xalanc_1_9::FormatterToHTML&)
      /home/aweiss/xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML.hpp:85: error:

      xalanc_1_9::FormatterToHTML::FormatterToHTML(xalanc_1_9::Writer&, const
      xalanc_1_9::XalanDOMString&, const xalanc_1_9::XalanDOMString&, const
      xalanc_1_9::XalanDOMString&, const xalanc_1_9::XalanDOMString&, bool, int,
      bool, bool, xalanc_1_9::MemoryManagerType&)
      make[1]: *** [../../obj/process.o] Fehler 1
      make[1]: Leaving directory `/home/aweiss/xml-xalan/c/src/xalanc'
      make: *** [all] Fehler 2

      It seems that the interface for FormatterToText is broken.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aweiss Axel Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: