Boost C++ Libraries: Ticket #1466: offset_ptr to volatile int?! https://svn.boost.org/trac10/ticket/1466 <p> I'm trying to use a offset_ptr&lt;volatile int&gt; to point to a piece of shared memory that can be changed by another process without other synchronization mechanisms. But I get this kind of errors: </p> <p> offset_ptr.hpp:116: error: invalid conversion from 'volatile void*' </p> <blockquote> <p> to 'const void*' </p> </blockquote> <p> offset_ptr.hpp:116: error: initializing argument 1 of 'void </p> <blockquote> <p> boost::interprocess::offset_ptr&lt;T&gt;::set_offset(const void*) [with <a class="missing wiki">PointedType</a> = volatile int]' </p> </blockquote> <p> Basically it is not possible to call set_offset when the pointed type is volatile. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1466 Trac 1.4.3 Ion Gaztañaga Wed, 21 Nov 2007 16:20:52 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/1466#comment:1 https://svn.boost.org/trac10/ticket/1466#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.35.0</span> </li> </ul> <p> Changed offset_ptr implementation to support volatile values. Added a test checking offset_ptr. SVN revision: 41281 </p> Ticket