You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by ji...@apache.org on 2004/04/20 23:29:53 UTC

[jira] Resolved: (XERCESC-1199) Compiling Xerces C++ 2.5.0 on HPUX using aCC: HP ANSI C++ B3910B A.03.13

Message:

   The following issue has been resolved as WON'T FIX.

   Resolver: Neil Graham
       Date: Tue, 20 Apr 2004 2:28 PM

HP fixed their compiler somewhere between A.03.13 and A.03.52; that's why we were able to take out the workaround.  You can (a) upgrade your compiler, or (b) figure out some way for us to conditionally compile this code based on the patch level of the HP compiler and submit a patch.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1199
    Summary: Compiling Xerces C++ 2.5.0 on HPUX using aCC: HP ANSI C++ B3910B A.03.13
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: WON'T FIX

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

   Assignee: 
   Reporter: Robert Pigott

    Created: Tue, 20 Apr 2004 1:40 PM
    Updated: Tue, 20 Apr 2004 2:28 PM
Environment: HP-UX using aCC: HP ANSI C++ B3910B A.03.13

Description:
I'm trying to compile Xerces C++ 2.5.0 on HP-UX using aCC: HP ANSI C++ B3910B A.03.13, and I am having a problem with XMemory.hpp.  aCC is complaining about the following method:

     //The Borland compiler is complaining about duplicate overloading of delete
#if !defined(XML_BORLAND)
    /**
      * This method provides a matching delete for the placement new
      *
      * @param p      The pointer to the allocated memory
      * @param memMgr An application's memory manager
      */
    void operator delete(void* p, MemoryManager* memMgr);
#endif

In version Xerces C++ 2.3.0, in the same header, the declaration is as follows:

     //The HP compiler is complaining about duplicate overloading of delete
#if !defined(XML_HPUX)
    /**
      * This method provides a matching delete for the placement new
      *
      * @param p      The pointer to the allocated memory
      * @param memMgr An application's memory manager
      */
    void operator delete(void* p, MemoryManager* memMgr);
#endif

I'm wondering why the header file was changed in the way it was.  It no longer compiles on HP.



---------------------------------------------------------------------
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org