Boost logo

Boost :

Subject: [boost] [phoenix] doesn't compile with gcc 4.9 snapshot
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2013-04-08 03:46:16


Hi, 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: #include <boost/phoenix/core.hpp> fails to compile, with the following errors: In file included from boost/proto/matches.hpp:42:0,                  from boost/phoenix/core/domain.hpp:12,                  from boost/phoenix/core/actor.hpp:17,                  from boost/phoenix/core.hpp:15,                  from test.cpp:1: 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,                  from boost/phoenix/core.hpp:17,                  from test.cpp:1: 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>()>'          struct placeholder_idx                 ^ The exact same code compiles fine with GCC 4.8 and earlier. Any ideas as to what might be going wrong? Thanks, Nate


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk