9 Mar
2006
9 Mar
'06
4:01 p.m.
On Mar 7, 2006, at 7:46 AM, Marc Sturm wrote:
We use gcc 3.4 and 4.0 to compile our project OpenMS, which is based on boost. boost/graph/detail/array_binary_tree.hpp causes the following errors: [snip] This can be fixed by replacing the original lines: 157: edata[ boost::get(id, tmp) ] = i; 158: edata[ boost::get(id, value()) ] = x.i; by: 157: edata[ get(id, tmp) ] = i; 158: edata[ get(id, value()) ] = x.i;
Is this a bug, or are we doing something wrong?
Yes, this is a bug. Your changes, plus the addition of "using boost::get;" at the beginning of the function, should fix the problem. The change will go into Boost CVS in a few minutes. Doug