|
Boost : |
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2007-06-06 11:29:36
Hi,
Aaron W. LaFramboise wrote:
> On a 64-bit build on MSVC 8 (CL 14.00.50727.762 for x64) with Boost CVS
> 2007-06-03, building a program that uses Boost.Interprocess fails.
> Please see the attachment at the end of the message for the compiler
> output.
>
> The problem is in rbtree_best_fit::SizeHolder:
> > unsigned m_prev_size : sizeof(std::size_t)*CHAR_BIT - 1;
>
> 'unsigned' which is 32-bit is not large enough to hold a 64-bit size_t.
> If I change 'unsigned' to 'std::size_t' compile is successful without
> any other errors.
>
>
> When linking, I get:
> [snip]
Thanks for the report. I'll fix it ASAP. I plan to upload a new version
with several fixes this week.
Regards,
Ion
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk