[Stlport-devel] STLport 5.1 + msvc71 + Boost
Brought to you by:
complement
From: Michael F. <mic...@as...> - 2006-09-14 10:21:34
|
Hi, I tried to compile Boost using msvc71 and with STLport 5.1 revision 2569. The command line used was the following (using Boost.Build v1): bjam "-sTOOLS=3Dvc-7_1-stlport" "-sSTLPORT_VERSION=3D5.1" "-sSTLPORT_5.1_PATH=3D%STLPORT_PATH%" "-sBUILD=3Ddebug <runtime-link>dyna= mic <threading>multi <native-wchar_t>off <stlport-cross>on" --without-python stage %STLPORT_PATH% was set to the STLport base path. Everything compiled without problems, except from one single file in the Boost.Iostreams library: bin\boost\libs\iostreams\build\libboost_iostreams.lib\vc-7_1-stlport\debu= g\stlport-cross-on\threading-multi\file_descriptor.obj file_descriptor.cpp {path}\boost-1.34-cvs\boost\iostreams\positioning.hpp(27) : error C2039: 'fpos_t' : is not a member of 'operator``global namespace''' {path}\boost-1.34-cvs\boost\iostreams\positioning.hpp(27) : error C2873: 'fpos_t' : symbol cannot be used in a using-declaration positioning.hpp around line 27 reads: namespace std { using ::fpos_t; } The Boost developers here don't trust all C Standard libraries to provide symbols in the std namespace, so they do it themselves. Could it be that STLport is missing such an import into std namespace for fpos_t, too? The line works when compiling without STLport. bye Michael |