Boost C++ Libraries: Ticket #884: [iostreams] workaround for the boost + stdcxx on MSVC 7.1 https://svn.boost.org/trac10/ticket/884 <pre class="wiki">I have been working on the Apache C++ Standard Library project (STDCXX): http://incubator.apache.org/stdcxx/ I've trying to compile the boost library with stdcxx. The details can be found here: http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200704.mbox/% 3c7BDB2168BEAEF14C98F1901FD2DE64386573EB@epmsa009.minsk.epam.com%3e Boost version: 1.33.1 STDCXX version: 4.2 I've got the error in boost\iostreams\device\mapped_file.hpp: D:\_Libs\boost_1_33_1\boost\iostreams\device\mapped_file.hpp(67) : error C2065: '__rw_openmode' : undeclared identifier D:\_Libs\boost_1_33_1\boost\iostreams\device\mapped_file.hpp(67) : error C2064: term does not evaluate to a function taking 0 arguments D:\_Libs\boost_1_33_1\boost\iostreams\device\mapped_file.hpp(72) : error C2064: term does not evaluate to a function taking 0 arguments CALL "C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\bin\VCVARS32.BAT" &gt;nul "C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\bin\cl" /Zm800 -nologo /EHsc -c -D_RWSTDDEBUG /Z7 /Od /Ob0 /EHsc /GR /MTd /Op /wd4675 /Zc:forScope -I"bin\boost\libs\iostreams\build" -I"D:\_Libs\boost_1_33_1" -I"D:\_Projects\stdcxx_working\include" -I"D:\_Projects\stdcxx_working\include\ansi" -I"D:\_Projects\stdcxx_working\build\msvc-7.1\15s\include" -I"D:\_Libs\boost_1_33_1" -Fo"bin\boost\libs\iostreams\build\libboost_iostreams.lib\vc-7_1-stdcxx\debug\runtime-link-static\threading-multi\mapped_file.obj" -Tp"D:\_Libs\boost_1_33_1\libs\iostreams\build\..\src\mapped_file.cpp" This error issued because of the following bug of the MSVC 7.1: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=267488 The proposed patch is attached. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/884 Trac 1.4.3 farid_zaripov <faridz@…> Tue, 05 Jun 2007 17:14:58 GMT <link>https://svn.boost.org/trac10/ticket/884#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/884#comment:1</guid> <description> <p> The cross-reference link to the Apache STDCXX issue tracker: <a class="ext-link" href="http://issues.apache.org/jira/browse/STDCXX-430"><span class="icon">​</span>http://issues.apache.org/jira/browse/STDCXX-430</a> </p> </description> <category>Ticket</category> </item> <item> <author>farid_zaripov <faridz@…></author> <pubDate>Tue, 19 Jun 2007 17:52:38 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/884 https://svn.boost.org/trac10/ticket/884 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">mapped_file.hpp.diff</span> </li> </ul> <p> The proposed patch </p> Ticket Dave Abrahams Fri, 06 Jul 2007 12:24:48 GMT description, reporter changed; cc, severity set https://svn.boost.org/trac10/ticket/884#comment:2 https://svn.boost.org/trac10/ticket/884#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">technews@…</span> added </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/884?action=diff&amp;version=2">diff</a>) </li> <li><strong>reporter</strong> changed from <span class="trac-author">farid_zaripov</span> to <span class="trac-author">farid_zaripov@…</span> </li> </ul> <p> Can't assign to Jonathan Turkanis until he sets up his email as described in <a class="wiki" href="https://svn.boost.org/trac10/wiki/TicketWorkflow">TicketWorkflow</a>. </p> Ticket Peter Dimov Sun, 22 Jul 2007 00:20:45 GMT component, severity changed https://svn.boost.org/trac10/ticket/884#comment:3 https://svn.boost.org/trac10/ticket/884#comment:3 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">iostreams</span> </li> <li><strong>severity</strong> <span class="trac-field-old">Showstopper</span> → <span class="trac-field-new">Problem</span> </li> </ul> Ticket Marshall Clow Thu, 27 Sep 2007 14:09:21 GMT owner, status changed https://svn.boost.org/trac10/ticket/884#comment:4 https://svn.boost.org/trac10/ticket/884#comment:4 <ul> <li><strong>owner</strong> changed from <span class="trac-author">nobody</span> to <span class="trac-author">Jonathan Turkanis</span> </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> </ul> Ticket Jonathan Turkanis Wed, 26 Dec 2007 01:38:07 GMT status, resolution changed https://svn.boost.org/trac10/ticket/884#comment:5 https://svn.boost.org/trac10/ticket/884#comment:5 <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-old">None</span> → <span class="trac-field-new">fixed</span> </li> </ul> <p> patch applied in <a class="changeset" href="https://svn.boost.org/trac10/changeset/42306" title="applied patch to resolve issue #884">[42306]</a> to branches/iostreams_dev, to be merged into trunk shortly </p> Ticket