
6 Jun
2007
6 Jun
'07
3:29 p.m.
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