[ 
http://issues.apache.org/jira/browse/XERCESC-1357?page=comments#action_59808 ]
     
cargilld commented on XERCESC-1357:
-----------------------------------

Hi,
Can you try upgrading your compiler?  Xercesc 2.6.0 supports aCC A.03.52.  We 
ran into a compiler problem with an older version of the HP compiler and needed 
to upgrade (unfortunately I can't recall the details).  As a result of the 
upgrade some of work arounds that we had with the old HP compiler we removed as 
they were no longer required.

If you can't upgrade try getting an older version of XMemory.hpp that has the 
guards from cvs (#if !defined(XML_HPUX) && !defined(XML_BORLAND)).

David


> Compiling problem on HPUX 11
> ----------------------------
>
>          Key: XERCESC-1357
>          URL: http://issues.apache.org/jira/browse/XERCESC-1357
>      Project: Xerces-C++
>         Type: Bug
>   Components: Build
>     Versions: 2.5.0
>  Environment: HPUX 11, compiler aC++ (aCC) A.03.13
>     Reporter: Guy Mougel
>     Priority: Critical

>
> There is a compiling problem between Xerces v2.4.0 and all the following 
> versions (v2.5.0 and v2.6.0).
> The compilation option !defined(XML_HPUX) has been removed from v2.4.0 
> resuting in that error :
> Error 492: "/logiciel/xerces/xerces_c2.5.0/include/xercesc/util/XMemory.hpp", 
> line 138 # Operator delete cannot
>     be overloaded in same class; previously defined at
>     ["/logiciel/xerces/xerces_c2.5.0/include/xercesc/util/XMemory.hpp", line 
> 128].
>         void operator delete(void* p, MemoryManager* memMgr);
>                       ^^^^^^
> Error 568: "/logiciel/xerces/xerces_c2.5.0/include/xercesc/util/XMemory.hpp", 
> line 138 # The second parameter of
>     operator delete must be type size_t.
>         void operator delete(void* p, MemoryManager* memMgr);
> NB: This error does not appear in v2.4.0.
> Best regards, Guy M.

-- 
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