repository::confix compile error when BOOST_SPIRIT_NO_PREDEFINED_TERMINALS is defined

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

repository::confix compile error when BOOST_SPIRIT_NO_PREDEFINED_TERMINALS is defined

zj5121
This post has NOT been accepted by the mailing list yet.
the spirit lib version#: 0x2050

the code is like this to reproduce it:
#define BOOST_SPIRIT_NO_PREDEFINED_TERMINALS

#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/repository/include/qi_confix.hpp>
....

then the compile error happened:
boost/spirit/repository/home/qi/directive/confix.hpp:50:23: error: ‘boost::spirit::repository::confix’ has not been declared

the confix should be handled like other predefined terminals.

Thanks
Eric