
19 Oct
2010
19 Oct
'10
4:54 p.m.
Hello *, I have a strange problem. When parsing some output boost::spirit::qi parser aborts the application stating the following error message: /local/include/boost/spirit/home/support/char_encoding/ascii.hpp:256: static int boost::spirit::char_encoding::ascii::isspace(int): Assertion `isascii_(ch)' failed. Indeed my input sequence is: ~B"þ¯Þº~N But is it really a reason to assert the parser and crash the app? This input would not match my grammar, so from my point of view (as library user) it is just fine: not to match the input, without any assertions. And I should be able to decide what to do next. I use boost 1.44 with gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11) Many thanks for support, Ovanes