DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28048>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28048

NameIdPoolEnumerator assigns to const pointer

           Summary: NameIdPoolEnumerator assigns to const pointer
           Product: Xerces-C++
           Version: 2.5.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to