Boost logo

Boost :

Subject: Re: [boost] [interprocess] Arithmetic error
From: Henrik Sundberg (storangen_at_[hidden])
Date: 2009-01-16 19:12:08


On Sat, Jan 17, 2009 at 1:00 AM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> This is a Boost.Interprocess bug. It has been fixed in the trunk.
> You can either patch 1.35 by changing line 531 ff. from
>
> inline std::size_t mapped_region::get_page_size()
> { return page_size_holder<0>::PageSize; }
>
> to
>
> inline std::size_t mapped_region::get_page_size()
> {
> if(!page_size_holder<0>::PageSize)
> return page_size_holder<0>::get_page_size();
> else
> return page_size_holder<0>::PageSize;
> }

Thanks a lot!
/$


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk