Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-05-14 12:14:41


AMDG

Julie Larson wrote:
> Oh phooey, I wonder if this is a 64 bit issue. I should have
> mentioned that. I'm compiling for 64 bit address space, pointer
> sizes, etc., I think it actually might have something to do with that.
>
> Watching it in the debugger it gets into hashtable_node.hpp
> (boost::intrusive::detail::bucket_impl<Slist> during the iterator
> increment and comes back with a crazy number from this operation in
> (get_bucket_num):
>
> //Now just calculate the index b has in the bucket array
> return &b - &first_bucket;
>
> it is subtracting two addresses to arrive at the next bucket number
> and I think this is probably where my problem lies.
>

I suspect that this is a bug caused by the non-portable code in
boost/units/detail/parent_from_member.hpp.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net