Subject: [boost] [phoenix] doesn't compile with gcc 4.9 snapshot
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2013-04-08 03:46:16
I'm trying to compile some code that uses Boost with a GCC 4.9 snapshot,
but something seems to be going badly wrong.
Something as simple as a file containing the include:
fails to compile, with the following errors:
In file included from boost/proto/matches.hpp:42:0,
boost/proto/traits.hpp: In instantiation of 'struct boost::proto::tag_of<boost::proto::_>':
boost/phoenix/core/domain.hpp:25:18: required from here
boost/proto/traits.hpp:241:42: error: no type named 'proto_tag' in 'struct boost::proto::_'
typedef typename Expr::proto_tag type;
In file included from boost/phoenix/core/argument.hpp:15:0,
boost/phoenix/core/terminal.hpp: In instantiation of 'struct boost::phoenix::detail::placeholder_idx<boost::proto::make<boost::is_placeholder<boost::proto::_value>()> >':
boost/phoenix/core/terminal.hpp:122:18: required from here
boost/phoenix/core/terminal.hpp:115:16: error: 'value' is not a member of 'boost::proto::make<boost::is_placeholder<boost::proto::_value>()>'
The exact same code compiles fine with GCC 4.8 and earlier.
Any ideas as to what might be going wrong?