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 bu...@apache.org on 2002/04/03 03:20:41 UTC
DO NOT REPLY [Bug 7701] New: -
NameIdPoolEnumerator copy constructor should call base class dito
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: xerces-c-dev@xml.apache.org
ReportedBy: martin.kalen@todaysystems.com.au
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org