Subject: Re: [Boost-bugs] [Boost C++ Libraries] #884: [iostreams] workaround for the boost + stdcxx on MSVC 7.1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-07-06 12:24:48
#884: [iostreams] workaround for the boost + stdcxx on MSVC 7.1
-----------------------------------------+----------------------------------
Reporter: farid_zaripov_at_[hidden] | Owner: nobody
Type: Patches | Status: assigned
Milestone: | Component: None
Version: None | Severity: Showstopper
Resolution: None | Keywords:
-----------------------------------------+----------------------------------
Changes (by dave):
* cc: technews_at_[hidden] (added)
* severity: => Showstopper
* reporter: farid_zaripov => farid_zaripov_at_[hidden]
Old description:
> {{{
> 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_at_[hidden]%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" >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.
> }}}
New description:
{{{
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_at_[hidden]%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" >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.
}}}
Comment:
Can't assign to Jonathan Turkanis until he sets up his email as described
in TicketWorkflow.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/884#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC