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 "Guy Mougel (JIRA)" <xe...@xml.apache.org> on 2005/02/24 13:47:48 UTC

[jira] Created: (XERCESC-1357) Compiling problem on HPUX 11

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


[jira] Commented: (XERCESC-1357) Compiling problem on HPUX 11

Posted by "cargilld (JIRA)" <xe...@xml.apache.org>.
     [ 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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


[jira] Updated: (XERCESC-1357) Compiling problem on HPUX 11

Posted by "Robert Buck (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1357?page=history ]

Robert Buck updated XERCESC-1357:
---------------------------------

    Attachment: hpfixes.zip

We ran into this problem too. Attached you will find the corrected implementation. Apache guys, feel free to patch your product with this to help HPUX developers.

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


[jira] Commented: (XERCESC-1357) Compiling problem on HPUX 11

Posted by "Guy Mougel (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1357?page=comments#action_59853 ]
     
Guy Mougel commented on XERCESC-1357:
-------------------------------------

Hi,
Unfortunately I can't upgrade my compiler (it's a devellopment center), so I have upgrading my recent Xerces with a older version of XMemory.hpp, like you say, and it work.
Thanks a lot.

Guy.

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