Gurus, I desperately need some help/advice here from any of you who have been able to build xalan 1.10 on solaris. >From the archives (see http://marc.theaimsgroup.com/?l=xalan-dev&m=112975609107302&w=2) , I found a potential fix to the problem below. This is to add this define to the SolarisDefinitions.hpp file - XALAN_HAS_STD_ITERATORS Now the defines I have in the SolarisDefinitons.hpp file are - #define XALAN_STRICT_ANSI_HEADERS #define XALAN_HAS_STD_ITERATORS #define XALAN_CLASSIC_IOSTREAMS
and i commented out this - #define XALAN_HAS_CPP_NAMESPACE Now i get the following fatal errors in my build - >> CC -O -DNDEBUG -KPIC -mt -xs -ptr../../obj -features=rtti -DSOLARIS -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/DE/3rd-party/XML/Xalan-C/1_10_0/src -I/DE/3rd-party/XML/Xalan-C/1_10_0/include -I../../nls/include -I/DE/3rd-party/XML/Xerces-C/2_7_0/src/ -I/DE/3rd-party/XML/Xerces-C/2_7_0/include/xercesc -I/DE/3rd-party/XML/Xerces-C/2_7_0/include/ -o ../../obj/XalanDOMString.o /DE/3rd-party/XML/Xalan-C/1_10_0/src/xalanc/XalanDOM/XalanDOMString.cpp "/DE/3rd-party/XML/Xalan-C/1_10_0/src/xalanc/Include/XalanVector.hpp", line 112: Error: Unable to parse field declaration in class template: skipping field . "/DE/3rd-party/XML/Xalan-C/1_10_0/src/xalanc/Include/XalanVector.hpp", line 112: Error: Unable to parse field declaration in class template: skipping field . <long list truncated> << Does anybody know why these errors are coming? Thank you. Ramkumar Devanathan <blocked::blocked::mailto:[EMAIL PROTECTED]> HP Software R&D Bangalore India PHONE: (91)-080-2205-2219 Ecard: http://www.ecardfile.com/id/ramkumardevanathan <blocked::blocked::http://www.ecardfile.com/id/ramkumardevanathan> ________________________________ From: Devanathan, Ramkumar (HP OpenView) Sent: Thursday, March 08, 2007 5:41 PM To: xalan-c-users@xml.apache.org Subject: Solaris 1.10, Xalan without Namespaces, const_reverse_iterator Hi Gurus, I am still getting this error when building $XALANCROOT/src/xalanc/XalanDOM/XalanDOMString.cpp from Xalan 1.10 sources. >> "/DE/3rd-party/XML/Xalan-C/1_10_0/src/xalanc/Include/XalanVector.hpp", line 725: Error: Type name expected instead of "const_reverse_iterator". << I am using Sun Workshop compiler 6 update 2. Somebody please tell me what I am doing wrong. It appears I am getting errors when building code that uses any of the iterator classes. I made 1 change in the SolarisDefinitions.hpp file to not have namespaces for the Xalan classes. I hope this is not something gravely wrong to do, since I need it this way. Thank you. ________________________________________________________________________ ________ Ramkumar Devanathan HP Software R&D Bangalore India PHONE: (91)-080-2205-2219 Ecard: http://www.ecardfile.com/id/ramkumardevanathan ________________________________________________________________________ ________ Find out what is happening in the ITRC and BSD Forums at http://forums.itrc.hp.com <blocked::blocked::http://forums.itrc.hp.com/> and http://bizforums.itrc.hp.com <blocked::blocked::http://bizforums.itrc.hp.com/>