Boost logo

Boost :

Subject: [boost] [1.68.0 Beta1 RC1][iostreams][vs2017 preview] seekpos is not a member of std::pos
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2018-07-06 22:22:17


Hi,

I'm trying to build some of Boost libraries with the very latest
VS 2017 Version 15.8.0 Preview 3.0

I've changed project-config.jam to point msvc-14.1 to the corresponding CL.EXE

```
using msvc : 14.1 : "c:\Program Files (x86)\Microsoft Visual
Studio\Preview\Professional\VC\Tools\MSVC\14.15.26608\bin\HostX64\x64\cl.EXE"
;
```

In "x64 Native Tools Command Prompt for VS 2017 Preview", I do

```
.\bootstrap.bat
b2 -j8 toolset=msvc-14.1 address-model=64 variant=release --with-iostreams
...
compile-c-c++ bin.v2\libs\iostreams\build\msvc-14.1\release\address-model-64\link-static\threading-multi\file_descriptor.obj
file_descriptor.cpp
.\boost/iostreams/positioning.hpp(96): error C2039: 'seekpos': is not
a member of 'std::fpos<_Mbstatet>'
c:\Program Files (x86)\Microsoft Visual
Studio\Preview\Professional\VC\Tools\MSVC\14.15.26608\include\iosfwd(132):
note: see declaration of 'std::fpos<_Mbstatet>'
```

Is this expected?

Shouldn't this be fixed by https://github.com/boostorg/iostreams/pull/57 ?
Or the PR has not made it into the master?

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk