-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing vector in MSVC #76
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When compiled with MSVC (or clang-cl on Windows), the compiler complains
vector
is not found.Reproduction
Expected Behavior
The code is compiled successfully.
Actual Behavior
The compiler complains
error C2039: 'vector': is not a member of 'std'
.System Info
Windows 10 Pro x64
C++11
mio @ 3f86a95
cmake 3.19.2 (CLion bundled)
cl 19.28.29914 for x64
Possible Solution
For users: Add
#include <vector>
before#include <mio/mmap.hpp>
.Notes
The complete compilation output, using CMake + Ninja + MSVC in CLion.
The text was updated successfully, but these errors were encountered: