18 Jun
2007
18 Jun
'07
5:37 p.m.
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
#include 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?