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]