Bug: Cannot open include
Michael Powell <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <CAMEoF_GVyPbr3OpGPirwhMQKgR=wZGj+Be5JrMjQi6WEnJDbnA@mail.gmail.com> |
Hello,
Straight out of the gate, getting this error trying to include:
#include <boost/tti/has_type.hpp>
4>/path/to/boost/spirit/home/x3/support/traits/container_traits.hpp(16):
fatal error C1083: Cannot open include file: 'boost/tti/has_type.hpp':
No such file or directory
My rule is fairly straightforward, at least as far as I can tell:
#include <boost/spirit/home/x3.hpp>
// TODO: TBD: we may refine this later on...
using namespace boost::spirit;
using namespace boost::spirit::x3;
x3::rule<class Port, std::uint16_t> const Port = "Port";
auto const Port_def = digit
| (char_('1', '9') >> digit[repeat(1, 3)])
| (char_('1', '5') >> digit[repeat(4)])
| (char_('6') >> char_('0', '4') >> digit[repeat(3)])
| ("65" >> char_('0', '4') >> digit[repeat(2)])
| ("655" >> char_('0', '2') >> digit)
| ("6553" >> char_('0', '5'))
;
BOOST_SPIRIT_DEFINE(Port);
I can patch locally, possibly also submit a PR.
Best,
Michael Powell
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot