Thanks. That solved. I know - it was a stupid question.
Endre.
On Fri, 20 Feb 2004 10:57:57 +0100 (CET), Jeroen N. Witmond <[EMAIL PROTECTED]> wrote:
Do you #include <xercesc/util/BinInputStream.hpp>?
Dear List,
I'm using xerces-c and in my Custom Entity resolver I need to have a look
on the resolved entities, for this, I have created a functions which
investigates the inputsource:
I'd like to have a code like this:
bool CheckForVersionInfo(const InputSource* is) { BinInputStream * bis = is->makeStream(); if (bis) { // ... /// delete bis; }
return false; }
Which compiles with the warning on the delete line:
C:\udm-2.00pre19\src\UdmDom\UdmDom.cpp(2562) : warning C4150: deletion of
pointer to incomplete type 'BinInputStream'; no destructor called
..\..\3rdParty\xerces\xerces-c2_2_0-win32\include\xercesc/sax/InputSource.hpp(117)
: see declaration of 'BinInputStream'
Is this warning OK - can I live with that, or there is a workaround?
According to documentation, the inputstream is dynamically allocated and
should be deleted by the caller.
Thanks, Endre Magyari
--------------------------------------------------------------------- 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]
-- Regards, Endre MAGYARI, CEO Nextra Telecom Ltd. - RO-4100 M-Ciuc, Florilor 28/1 Office: +40 266 317 500 Mobile: +40 744 794 735 E-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
