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:48:53 UTC

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

The following comment has been added to this issue:

     Author: Robert Pigott
    Created: Tue, 20 Apr 2004 2:47 PM
       Body:
OK.  I would suggest that the Apache website be updated.  The website http://xml.apache.org/xerces-c/build-winunix.html#UNIX lists aCC A.03.13 as the compiler to use for HP-UX 11.0.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XERCESC-1199?page=comments#action_35172

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