[xsd-users] expat parser and elements.txx error
hhusp house
hhusp at outlook.com
Tue Oct 20 06:26:07 EDT 2015
I changed parser-rules.make to use the expat parser.
XML_PARSER := expat
When I try to build the hello example in (xsd-4.0/examples/cxx/parser/hello)I get the error:../../../../libxsd/xsd/cxx/parser/expat/elements.txx:282: error: no match for ‘operator==’ in ‘parser == 0’
Linux distribution: CentOS release 6.7 (Final)xsd 4.0.0g++ version (-v)gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
Complete output:../../../../bin/xsd cxx-parser --xml-parser expat hello.xsdg++ -I../../../../libxsd -W -Wall -O3 -c driver.cxx -o driver.oIn file included from ../../../../libxsd/xsd/cxx/parser/expat/elements.hxx:360, from hello-pskel.hxx:70, from driver.cxx:7:../../../../libxsd/xsd/cxx/parser/expat/elements.txx: In member function ‘bool xsd::cxx::parser::expat::document<C>::parse(std::istream&, const std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> >*, const std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> >*, xsd::cxx::xml::error_handler<C>&)’:../../../../libxsd/xsd/cxx/parser/expat/elements.txx:282: error: no match for ‘operator==’ in ‘parser == 0’
More information about the xsd-users
mailing list