hello,i am a chinese instersted in XersecC!
I had writen a class for
transform the XMLCh char to Local encoding
develop env : Linux
2.4.20-28.7smp
xerces version : xerces c++
2.6
compiler : GNU g++
i find in the class
StrTransformer.cpp, when it's destructor like this, the process
got Segmentation fault (core dumped)!
StrTransformer::~StrTransformer()
{
delete target;
delete format;
}
{
delete target;
delete format;
}
but when the destructor do
nothing , just like -- StrTransformer::~StrTransformer(){} , the process
run without error!
how can i deal with this error? though i thought must
delete the object created in class StrTransformer by StrTransformer::~StrTransformer(),but it make program
error.
desire yours
help!
thanks!
yours
G.Ming
2005-06-21
SourceCode.rar
Description: SourceCode.rar
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
