Qi int_parser rejecting a negative signed std::intmax_t

Michael Powell <[email protected]> Mon, 12 Nov 2018 10:34:00 -0500
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <CAMEoF_EAYaEcqDFNrfttQok=5bUVwK9jCTcU-tV8bco_01dVfQ@mail.gmail.com>
Hello,

qi::int_parser works fine for a positive signed hex radix integer, but
is failing for a negative signed hex radix integer.

My integer type is std::intmax_t, which on this platform I think is long long.

Is there an integer width constraint? And/or a signage problem?

Do I need to enable BOOST_HAS_LONG_LONG? Or is that enabled by default?

Cheers, thanks!

Michael Powell