Message:

   The following issue has been closed.

   Resolver: Alberto Massari
       Date: Fri, 24 Sep 2004 5:46 AM

Duplicate of #1259
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1185

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1185
    Summary: NameIdPoolEnumerator assigns to const pointer
       Type: Bug

     Status: Closed
 Resolution: DUPLICATE

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

   Assignee: 
   Reporter: Robert Buck

    Created: Tue, 30 Mar 2004 2:52 PM
    Updated: Fri, 24 Sep 2004 5:46 AM
Environment: Operating System: Linux
Platform: PC

Description:
The NameIdPoolEnumerator has a const pointer to MemoryManager member. In the 
assignment operator overload, the pointer is assigned the member pointer of the 
rhs object. Most compilers are lenient; but ECC is a strictly conforming 
compiler that will not accept this coding error.

Please make member non-const, and remove cv-qualifier from argument list in 
constructor. This has been tested using ECC on IA64 with success.


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