|
Boost : |
Subject: Re: [boost] request for help: g++ compiler error in mapreduce library
From: Jose (jmalv04_at_[hidden])
Date: 2009-08-22 10:20:00
On Sat, Aug 22, 2009 at 12:01 AM, Craig
Henderson<cdm.henderson_at_[hidden]> wrote:
> Can someone please help me with a g++ compiler error with my MapReduce
> 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>
>(result);
to allow the compiler to handle the dependent name
BTW, the only error I get now is
platform.hpp:98: undefined reference to
`boost::mapreduce::linux_os::get_temporary_filename(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)
which was available before.
regards
jose
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk