Boost C++ Libraries: Ticket #12051: offset_ptr<void , boost::int32_t, boost::uint64_t> is saved incorrectly on win32 https://svn.boost.org/trac10/ticket/12051 <p> I'm using offset_ptr&lt;void , boost::int32_t, boost::uint64_t&gt; to work with one mapped file from x32 and x64 process. Binary representation of offset_ptr is supposed to be same for 32 and 64 bit process. </p> <p> In attached example I simply create mapped file and it has different content on win32 depending on boost library version. It is offset_ptr stored differently: </p> <p> on x64:<br /> f8ff ffff ffff ffff - for any version </p> <p> on win32:<br /> f8ff ffff ffff ffff - boost version &lt; 1.52<br /> f8ff ffff 0000 0000 - boost version &gt;= 1.52 - this is bug<br /> </p> <p> This behavior causes crash if I save data from x32 process and then open it from x64 process. Luckily offset_ptr.hpp header from boost 1.51 works in 1.60, but it's hardly a solution... </p> <p> Can you guys make offset_ptr 32/64 compatible again? </p> <p> Thanks,<br /> Eugene </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12051 Trac 1.4.3 111coyote111@… Fri, 11 Mar 2016 15:47:31 GMT attachment set https://svn.boost.org/trac10/ticket/12051 https://svn.boost.org/trac10/ticket/12051 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">testBoost.zip</span> </li> </ul> <p> will output different files on win32/x64 </p> Ticket