DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17121>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17121

XalanC canot be compiled with gcc 3.2.2

           Summary: XalanC canot be compiled with gcc 3.2.2
           Product: XalanC
           Version: 1.4.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: XalanC
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Linux (Suse 8.1)
gcc 3.2.2
xerces 2.2.0
icu 2.4

runConfigure -p linux -c ... -x ... -r pthread -C --prefix =...
              
If make is invoked, XalanC files are compiled without problems until
file DOMSupport/DOMServices.cpp is reached:


In file included from DOMSupport/DOMServices.hpp:78,
                 from DOMSupport/DOMServices.cpp:57:
PlatformSupport/FormatterListener.hpp:92: parse error before `{' token
PlatformSupport/FormatterListener.hpp:108: parse error before `)' token
PlatformSupport/FormatterListener.hpp:111: destructors must be member functions
PlatformSupport/FormatterListener.hpp:111: virtual outside class declaration
PlatformSupport/FormatterListener.hpp:116: non-member function `eFormat 
   getOutputFormat()' cannot have `const' method qualifier
PlatformSupport/FormatterListener.hpp: In function `eFormat getOutputFormat()':
PlatformSupport/FormatterListener.hpp:117: `m_outputFormat' undeclared (first 
   use this function)
PlatformSupport/FormatterListener.hpp:117: (Each undeclared identifier is 
   reported only once for each function it appears in.)
PlatformSupport/FormatterListener.hpp: At global scope:
PlatformSupport/FormatterListener.hpp:127: non-member function `const 
   PrefixResolver* getPrefixResolver()' cannot have `const' method qualifier
PlatformSupport/FormatterListener.hpp: In function `const PrefixResolver* 
   getPrefixResolver()':
PlatformSupport/FormatterListener.hpp:128: `m_prefixResolver' undeclared (first 
   use this function)
PlatformSupport/FormatterListener.hpp: At global scope:
PlatformSupport/FormatterListener.hpp:154: parse error before `)' token
PlatformSupport/FormatterListener.hpp:154: virtual outside class declaration
PlatformSupport/FormatterListener.hpp:154: function `void charactersRaw(...)' 
   is initialized like a variable
PlatformSupport/FormatterListener.hpp:163: virtual outside class declaration
PlatformSupport/FormatterListener.hpp:163: function `void comment(const XMLCh*)
...
many more errors are reported:

Files PlatformSupport/FormatterListener.hpp
      DOMSupport/DOMServices.hpp
      PlatformSupport/XalanLocator.hpp
      PlatformSupport/XSLException.hpp
      XalanDOM/XalanDOMString.hpp

Finally, make stops with an error
make: *** [/install0/prog/gcc/install/xml-xalan/obj/DOMServices.o] Error 1

Reply via email to