Boost C++ Libraries: Ticket #1543: [interprocess] 'streamoff' : is not a member of 'std' https://svn.boost.org/trac10/ticket/1543 <blockquote> <p> The <a class="ext-link" href="http://incubator.apache.org/stdcxx/"><span class="icon">​</span>stdcxx</a> is the another implementation of the STL (initially based on <a class="missing wiki">RogueWave</a> STL). </p> </blockquote> <blockquote> <p> The following errors are encountered when running boost regression tests on msvc with stdcxx-4.2.0. </p> </blockquote> <pre class="wiki">..\libs\interprocess\test\file_mapping_test.cpp(31) : error C2039: 'streamoff' : is not a member of 'std' ..\libs\interprocess\test\file_mapping_test.cpp(31) : error C2061: syntax error : identifier 'streamoff' </pre><p> The proposed patch: </p> <pre class="wiki">--- libs\interprocess\test\file_mapping_test.cpp +++ libs\interprocess\test\file_mapping_test.cpp @@ -11,6 +11,7 @@ #include &lt;boost/interprocess/detail/config_begin.hpp&gt; #include &lt;fstream&gt; #include &lt;iostream&gt; +#include &lt;ios&gt; // for std::streamoff #include &lt;boost/interprocess/file_mapping.hpp&gt; #include &lt;boost/interprocess/mapped_region.hpp&gt; #include &lt;memory&gt; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1543 Trac 1.4.3 Ion Gaztañaga Fri, 28 Dec 2007 09:09:16 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1543#comment:1 https://svn.boost.org/trac10/ticket/1543#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> </ul> <p> Thanks for the report. Fixed in revision 42322 </p> Ticket