[xsd-users] skeleton does not compile with expat in parser_auto_ptr

Boris Kolpackov boris at codesynthesis.com
Fri Aug 7 07:21:19 EDT 2015


Hi Andrea,

Andrea Rigoni <rigoni at igi.cnr.it> writes:

> Anyway I found that the code was not compiling.
> I fix it adding this this two operators to the parser_auto_ptr class in
> expat/elements.hpp
> 
>         operator const bool () const { return parser_ != 0; }
>         operator const XML_Parser & () const { return parser_; }
> 
> Was this the right way ?

No, the right way is to show exactly what you have tried (i.e.,
command lines) and what error messages you got.

Boris



More information about the xsd-users mailing list