The following comment has been added to this issue:

     Author: Norman Samuelson
    Created: Thu, 19 Aug 2004 4:31 PM
       Body:
Today I tried to reproduce the error to get the error messages.
I started fresh by untarring the files.  When it compiled Base64.cpp there were no 
errors today.  I did get errors in another file, DOMDoucmentImpl.cpp.  I cant explain 
the differences, and I have a headache that may keep me out of work until Monday.

CC -LANG:pch -LANG:std -O2 -DIRIX -D_REENTRANT -I/usr/local/include -c 
-I/home/nhs/xerces-c-src_2_5_0/include -w -O2 -DPROJ_XMLPARSER  -DPROJ_XMLUTIL  
-DPROJ_PARSERS  -DPROJ_SAX4C  -DPROJ_SAX2  -DPROJ_DOM  -DPROJ_VALIDATORS 
-DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS 
-DXML_USE_NETACCESSOR_SOCKET     -o 
/home/nhs/xerces-c-src_2_5_0/obj/IRIX/DOMDocumentImpl.o DOMDocumentImpl.cpp
"DOMDocumentImpl.cpp":  creating precompiled header file "DOMDocumentImpl.pch".
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 78
  The function "DOMDeepNodeListPool<TVal>::DOMDeepNodeListPool(XMLSize_t, bool,
          XMLSize_t)" has already been defined.
 
  DOMDeepNodeListPool<TVal>::DOMDeepNodeListPool( const XMLSize_t modulus
                             ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 111
  The function "DOMDeepNodeListPool<TVal>::DOMDeepNodeListPool(XMLSize_t, bool,
          HashBase *, XMLSize_t)" has already been defined.
 
  DOMDeepNodeListPool<TVal>::DOMDeepNodeListPool( const XMLSize_t modulus
                             ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 141
  The function "DOMDeepNodeListPool<TVal>::DOMDeepNodeListPool(XMLSize_t,
          XMLSize_t)" has already been defined.
 
  DOMDeepNodeListPool<TVal>::DOMDeepNodeListPool( const XMLSize_t modulus
                             ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 170
  The function "DOMDeepNodeListPool<TVal>::initialize" has already been defined.
 
  void DOMDeepNodeListPool<TVal>::initialize(const XMLSize_t modulus)
                                  ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 185
  The function "DOMDeepNodeListPool<TVal>::~DOMDeepNodeListPool" has already
          been defined.
 
  template <class TVal> DOMDeepNodeListPool<TVal>::~DOMDeepNodeListPool()
                                                   ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 200
  The function "DOMDeepNodeListPool<TVal>::isEmpty" has already been defined.
 
  bool DOMDeepNodeListPool<TVal>::isEmpty() const
                                  ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 212
  The function "DOMDeepNodeListPool<TVal>::containsKey" has already been defined.
 
  bool DOMDeepNodeListPool<TVal>::containsKey( const void* const key1
                                  ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 222
  The function "DOMDeepNodeListPool<TVal>::removeAll" has already been defined.
 
  void DOMDeepNodeListPool<TVal>::removeAll()
                                  ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 258
  The function "DOMDeepNodeListPool<TVal>::cleanup" has already been defined.
 
  template <class TVal> void DOMDeepNodeListPool<TVal>::cleanup()
                                                        ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 274
  The function "DOMDeepNodeListPool<TVal>::getByKey(const void *, const XMLCh *,
          const XMLCh *)" has already been defined.
 
  DOMDeepNodeListPool<TVal>::getByKey(const void* const key1, const XMLCh* const key2, 
const XMLCh* const key3)
                             ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 284
  The function "DOMDeepNodeListPool<TVal>::getByKey(const void *, const XMLCh *,
          const XMLCh *) const" has already been defined.
 
  DOMDeepNodeListPool<TVal>::getByKey(const void* const key1, const XMLCh* const key2, 
const XMLCh* const key3) const
                             ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 294
  The function "DOMDeepNodeListPool<TVal>::getById(XMLSize_t)" has already been
          defined.
 
  DOMDeepNodeListPool<TVal>::getById(const XMLSize_t elemId)
                             ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 304
  The function "DOMDeepNodeListPool<TVal>::getById(XMLSize_t) const" has already
          been defined.
 
  DOMDeepNodeListPool<TVal>::getById(const XMLSize_t elemId) const
                             ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 317
  The function "DOMDeepNodeListPool<TVal>::put" has already been defined.
 
  DOMDeepNodeListPool<TVal>::put(void* key1, XMLCh* key2, XMLCh* key3, TVal* const 
valueToAdopt)
                             ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 401
  The function "DOMDeepNodeListPool<TVal>::findBucketElem(const void *, const
          XMLCh *, const XMLCh *, XMLSize_t &)" has already been defined.
 
  findBucketElem(const void* const key1, const XMLCh* const key2, const XMLCh* const 
key3, XMLSize_t& hashVal)
  ^
 
cc-1220 CC: ERROR File = DOMDeepNodeListPool.c, Line = 437
  The function "DOMDeepNodeListPool<TVal>::findBucketElem(const void *, const
          XMLCh *, const XMLCh *, XMLSize_t &) const" has already been defined.
 
  findBucketElem(const void* const key1, const XMLCh* const key2, const XMLCh* const 
key3, XMLSize_t& hashVal) const
  ^
 
16 errors detected in the compilation of "DOMDocumentImpl.cpp".
[
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XERCESC-1256?page=comments#action_37352

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1256

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1256
    Summary: Compile error on SGI-Irix
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Xerces-C++
 Components: 
             Build
   Versions:
             2.5.0

   Assignee: 
   Reporter: Norman Samuelson

    Created: Wed, 18 Aug 2004 9:15 AM
    Updated: Thu, 19 Aug 2004 4:31 PM
Environment: Irix 6.5, MIPSpro Compiler Version 7.4

Description:
When compiling Base64.cpp, the compiler complains about template methods in 
Janitor.hpp that it says are already defined.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to