Skip to content

Remove call to nonexistent member seekpos() of std::fpos in VS 15.8#569

Merged
openscenegraph merged 1 commit intoopenscenegraph:masterfrom
LarryIII:Fix-issues
Jun 28, 2018
Merged

Remove call to nonexistent member seekpos() of std::fpos in VS 15.8#569
openscenegraph merged 1 commit intoopenscenegraph:masterfrom
LarryIII:Fix-issues

Conversation

@LarryIII
Copy link
Copy Markdown

Remove call to nonexistent member seekpos() of std::fpos in VS 2017 version 15.8. It has removed in our curent latest published release VS 15.8 preview 3(_MSC_VER=1915). So it failed with below issue:
error C2039: 'seekpos': is not a member of 'std::fpos<_Mbstatet>'

See http://eel.is/c++draft/fpos -- to get to an offset you can convert to int; now there is no seekpos member in VS15.8.
We have fixed this issue in vcpkg (microsoft/vcpkg#3753).

The previous PR that we discussed here: #567
I send the new one, please help approve. Thanks!

@openscenegraph
Copy link
Copy Markdown
Owner

Thanks for the revision Larry :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants