Can't compile any example on Ubuntu 16.04
$ g++ -std=c++14 main.cpp
In file included from /usr/include/boost/spirit/home/x3/nonterminal.hpp:14:0,
from /usr/include/boost/spirit/home/x3.hpp:20,
from main.cpp:23:
main.cpp:226:9: error: ‘client::calculator_grammar::parse_rule’ declared as an ‘inline’ variable
BOOST_SPIRIT_DEFINE(
^
main.cpp:226:9: error: expected ‘)’ before ‘rule_’
BOOST_SPIRIT_DEFINE(
^
main.cpp:226:9: error: expected primary-expression before ‘&’ token
BOOST_SPIRIT_DEFINE(
^
main.cpp:226:9: error: ‘first’ was not declared in this scope
BOOST_SPIRIT_DEFINE(
^
this is a spirit::x3 bug?