$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Giovanni Bajo (giovannibajo_at_[hidden])
Date: 2003-12-22 23:06:03
Lucas Galfaso wrote:
> Hi, this is a minimal example of a VC 7.1 ICE using spirit,
> Am I doing something extremely wrong?
>
> Lucas/
>
> #include <boost\spirit.hpp>
>
> int main () {
> std::vector<char> v;
> using namespace boost::spirit;
>
> std::string abc ("9");
> bool r = parse (abc.c_str(), (digit_p[append(v)]) ).full;
> }
You're not saying which version of Spirit you are using.
Using Boost CVS (Spiriti 1.8.0), you must rename append to push_back_a, and
include also boost/spirit/actor.hpp.
Giovanni Bajo