Hi Michael,
It would be great if you could try this against code from CVS. I just did
a build with GCC 2.96 on an RH 7 machine, and didn't see any of these
warnings; I have a feeling they might have gone away when we changed the
copy constructor in XMemory from private to protected visibility.
Cheers,
Neil
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone: 905-413-3519, T/L 969-3519
E-mail: [EMAIL PROTECTED]
|---------+---------------------------->
| | "Michael Thomas" |
| | <[EMAIL PROTECTED]|
| | ast.biz> |
| | |
| | 06/04/2003 10:24 |
| | AM |
| | Please respond to|
| | xerces-c-dev |
| | |
|---------+---------------------------->
>---------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: getting warning about xercesc_2_3::XMemory should be explicitly
initialized |
|
|
|
|
>---------------------------------------------------------------------------------------------------------------------------------------------|
Hi,
Thanks for checking out my post.
I would be very grateful for any advice on the following warnings I am
getting about the Xerces /framework code when compiling my own C++
application.
In an effort to upgrade my code from Xerces 1.7, I have just installed
Xerces 2.3.0 on my Redhat 7.3 system and I am compiling using g++ 2.96.
The install of Xerces went very well and I tested it after the install
and all seemed fine. I built the Xerces code using g++ also :-
/home/mthomas/xerces-c-src_2_3_0/include/xercesc/framework/XMLAttDefList.hpp:
In method
`xercesc_2_3::XMLAttDefList::XMLAttDefList (const
xercesc_2_3::XMLAttDefList &)':
/home/mthomas/xerces-c-src_2_3_0/include/xercesc/framework/XMLAttDefList.hpp:181:
warning: base
class `class xercesc_2_3::XMemory' should be explicitly initialized in
the copy constructor
In file included from SRS_XMLWrapper.H:7,
from EventEpp.H:18,
from EPPReader.cpp:8:
/home/mthomas/xerces-c-src_2_3_0/include/xercesc/sax/SAXException.hpp: In
method
`xercesc_2_3::SAXException::SAXException (const xercesc_2_3::SAXException
&)':
/home/mthomas/xerces-c-src_2_3_0-g++/include/xercesc/sax/SAXException.hpp:177:
warning: base class
`class xercesc_2_3::XMemory' should be explicitly initialized in the copy
constructor
Thanks
Michael
RegisterPro
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]