Hi All,

>The linker also complained about duplicate symbols. Off the top, I
>don't remember if it was a warning or an error. I'll check tomorrow,
>because I don't have access right now.

First things first: I am using sources version 1.0.1

If we talking about the same linking error:
>ld: fatal: symbol 
>`RefHashTableOfEnumerator<DTDAttDef>::~RefHashTableOfEnumerator
>#Nvariant 1()' is multiply defined:
>        (file /export/home/xerces/srcs/obj/DTDAttDefList.o and file
>/export/home/xerces/srcs/obj/DTDElementDecl.o);
>ld: fatal: File processing errors. No output written to
>/export/home/xerces/srcs/lib/libxerces-c1_0.so

It looks to me like compiler bug (?????). I was able to link the library after
I moved the destructor definition from './src/util/RefHashTableOf.c' line 333:
/*                                                                              
                                       
template <class TVal> 
RefHashTableOfEnumerator<TVal>::~RefHashTableOfEnumerator()                     
                 
{                                                                               
                                       
    if (fAdopted)                                                               
                                       
        delete fToEnum;                                                         
                                       
}                                                                               
                                       
*/                                                                              
                                       


to './src/util/RefHashTableOf.hpp' line 204:

    ~RefHashTableOfEnumerator()                                                 
                                       
{                                                                               
                                       
    if (fAdopted)                                                               
                                       
        delete fToEnum;                                                         
                                       
}                                                                               
                                       

Additionally, I have got few warnings during compilation:

>"DocumentImpl.cpp", line 551: Warning: namespaceURI hides 
>NodeImpl::namespaceURI.
>"DocumentImpl.cpp", line 563: Warning: namespaceURI hides 
>NodeImpl::namespaceURI.
>"DocumentImpl.cpp", line 574: Warning: namespaceURI hides 
>NodeImpl::namespaceURI.
>"DocumentImpl.cpp", line 574: Warning: localName hides NodeImpl::localName.
>"ElementImpl.cpp", line 325: Warning: namespaceURI hides 
>NodeImpl::namespaceURI.
>"ElementImpl.cpp", line 325: Warning: localName hides NodeImpl::localName.
>"ElementImpl.cpp", line 336: Warning: namespaceURI hides 
>NodeImpl::namespaceURI.
>"ElementImpl.cpp", line 336: Warning: value hides NodeImpl::value.
>"ElementImpl.cpp", line 360: Warning: namespaceURI hides 
>NodeImpl::namespaceURI.
>"ElementImpl.cpp", line 360: Warning: localName hides NodeImpl::localName.
>"ElementImpl.cpp", line 382: Warning: namespaceURI hides 
>NodeImpl::namespaceURI.
>"ElementImpl.cpp", line 382: Warning: localName hides NodeImpl::localName.
>"ElementImpl.cpp", line 422: Warning: namespaceURI hides 
>NodeImpl::namespaceURI.
>"ElementImpl.cpp", line 422: Warning: localName hides NodeImpl::localName.
>"NodeImpl.cpp", line 171: Warning: namespaceURI hides NodeImpl::namespaceURI.
>"NodeImpl.cpp", line 672: Warning: prefix hides NodeImpl::prefix.

I did not investigate this problem yet.

Misha
-- 
---------------------------------------------------------------
Michael Krivoruchko                 CDE Group, Sun Microsystems
    Bool House, East Point Business Park, Dublin 3, Ireland
Ph: +353 1 819 9272               E-mail: [EMAIL PROTECTED]
---------------------------------------------------------------

Reply via email to