Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6147: message_queue sample fails to compile in 32-bit
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-18 19:58:24
#6147: message_queue sample fails to compile in 32-bit
---------------------------------------------+------------------------------
Reporter: Graham Perks <graham@â¦> | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.48.0 | Severity: Regression
Resolution: | Keywords:
---------------------------------------------+------------------------------
Comment (by Graham Perks <graham@â¦>):
I was able to workaround this by adding this code before including the
boost headers. It adds a second type to the get_rounded_size template.
{{{
namespace boost {
namespace interprocess {
namespace ipcdetail {
//Rounds "orig_size" by excess to round_to bytes
template<class SizeType, class ST2>
inline SizeType get_rounded_size(SizeType orig_size, ST2
round_to)
{
return ((orig_size-1)/round_to+1)*round_to;
}
}
}
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6147#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC