Got some error trying to compile this vs boost :: trunk

j...@dell-desktop:~/Desktop$ time g++-4.3 -O3 -c options.cpp -I./ -I/usr/local/include/boost-trunk options.cpp: In member function ‘typename boost::option_expr<Expr>::result<const boost::option_expr<Expr> ()(Option, Default)>::type boost::option_expr<Expr>::operator()(const Option&, const Default&) const’:
options.cpp:103: error: wrong number of template arguments (3, should be 2)
/usr/local/include/boost-trunk/boost/proto/proto_fwd.hpp:435: error: provided for ‘template<class Expr, class Grammar> struct boost::proto::matches’
/usr/local/include/boost-trunk/boost/mpl/assert.hpp: At global scope:
/usr/local/include/boost-trunk/boost/mpl/assert.hpp: In instantiation of ‘mpl_::assert_arg_pred_not<int>’:
options.cpp:103: instantiated from here
/usr/local/include/boost-trunk/boost/mpl/assert.hpp:148: error: ‘int’ is not a class, struct, or union type /usr/local/include/boost-trunk/boost/mpl/assert.hpp:149: error: ‘int’ is not a class, struct, or union type

_______________________________________________
proto mailing list
[email protected]
http://lists.boost.org/mailman/listinfo.cgi/proto

Reply via email to