Subject: Re: [boost] request for help: g++ compiler error in mapreduce library
From: Craig Henderson (cdm.henderson_at_[hidden])
Date: 2009-08-22 17:40:25
> > Can someone please help me with a g++ compiler error with my
> > library test program?
> > job.run<boost::mapreduce::schedule_policy::cpu_parallel<Job>
> >>(result); // <-- ERROR
> Just change the line to:
> job.template run<boost::mapreduce::schedule_policy::cpu_parallel<Job>
> to allow the compiler to handle the dependent name
Thanks - I've never come across that syntax before. MSVC doesn't need it,
but can cope with it. I've updated the sandbox.
> BTW, the only error I get now is
> platform.hpp:98: undefined reference to
> std::char_traits<char>, std::allocator<char> >&)
> which was available before.
I think you modified platform.hpp locally for this - you've sent me the
code, but I haven't integrated it yet. I'll do that shortly.
Thanks for your continued help
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk