Boost C++ Libraries: Ticket #1593: [intrprocess] 'streamoff' : is not a member of 'std' https://svn.boost.org/trac10/ticket/1593 <blockquote> <p> The <a class="ext-link" href="http://stdcxx.apache.org/"><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">file_mapping_test.cpp ..\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">Index: libs/interprocess/test/file_mapping_test.cpp =================================================================== --- libs/interprocess/test/file_mapping_test.cpp (revision 42908) +++ libs/interprocess/test/file_mapping_test.cpp (working copy) @@ -9,6 +9,7 @@ ////////////////////////////////////////////////////////////////////////////// #include &lt;boost/interprocess/detail/config_begin.hpp&gt; +#include &lt;ios&gt; // for std::streamoff #include &lt;fstream&gt; #include &lt;iostream&gt; #include &lt;boost/interprocess/file_mapping.hpp&gt; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1593 Trac 1.4.3 Ion Gaztañaga Wed, 23 Jan 2008 19:36:14 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1593#comment:1 https://svn.boost.org/trac10/ticket/1593#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> Applied proposed patch in revision 42931. </p> Ticket