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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7701

NameIdPoolEnumerator copy constructor should call base class dito

           Summary: NameIdPoolEnumerator copy constructor should call base
                    class dito
           Product: Xerces-C++
           Version: 1.7.0
          Platform: All
               URL: http://www.bcbdev.com/articles/wwwtc5.htm
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Example error message from gcc 3.0.1 on Tru64 5.1:
"
<root>/include/xercesc/util/NameIdPool.c: In copy constructor
 `NameIdPoolEnumerator<TElem>::NameIdPoolEnumerator(
   const NameIdPoolEnumerator<TElem>&)
 [with TElem = DTDEntityDecl]':
<root>/include/xercesc/internal/XMLScanner.hpp:1111:
 instantiated from here
<root>/include/xercesc/util/NameIdPool.c:361: warning:
 base class `class XMLEnumerator<DTDEntityDecl>'
 should be explicitly initialized in the copy constructor
"

Attached is a minimal diff that will explicitly call the copy constructor in 
the base class (XMLEnumerator<template class>), getting rid of all similar 
compiler warnings.

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

Reply via email to