$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2007-06-18 13:37:32
 
Christian Henning wrote:
> Hi there, I'm using boost 1.34 and MS VC7.1 . The following 
> code lets my compiler ICE.
This should work.
> #include <vector>
> 
> #include <boost/spirit/core.hpp>
> #include <boost/spirit/actor/push_back_actor.hpp>
> 
> using namespace std;
> namespace sp = boost::spirit;
> 
> int main(int argc, char* argv[])
> {
>    vector<int> n;
> 
>    bool ret = parse( "12", sp::int_p[push_back_a( n )] ).full;
Did you forget the namespace decoration:
    bool ret = parse( "12", sp::int_p[sp::push_back_a( n )] ).full;
?
VC7.1 is known to ICE if the functor is not found.
Regards Hartmut
> 
> 	return 0;
> }
> 
> The reason is the push_back_a actor. Is that a known issue or 
> am I doing something wrong?