
On 01/17/2013 01:33 PM, Mathias Gaunard wrote:
On 17/01/13 13:22, Mathias Gaunard wrote:
On 17/01/13 12:28, Robert Jones wrote:
Hi All
Can anyone tell me what's wrong with this? The error message is so huge I'm a bit overwhelmed!
Learn to read C++ errors.
It says /home/mgaunard/dev/boost/trunk/boost/phoenix/core/actor.hpp:174:9: error: ‘typedef boost::proto::exprns_::basic_expr<...>::proto_tag’ is inaccessible /home/mgaunard/dev/boost/trunk/boost/proto/matches.hpp:834:16: error: within this context
So it looks like a bug.
I badly shortened the error message, the problem is with actor< basic_expr<...> >::proto_tag of course.
The problem doesn't occur with clang, only gcc, so it's most definitely a bug. This is a *very* strange bug. Essentially this says that the typedef is not accessible because it is private. However, the actor template is declared as: template <typename Expr> struct actor { .... };
no private there at all ... even if i add the "public:" explicitly it doesn't solve the problem. This needs further investigation. Thanks for reporting, Thomas
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users