-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:VS 2017 + Windows Server 2016 + MongoDB master branch latest revision
-
Fully Compatible
-
Dev Tools 2019-02-11
MongoDB failed to buid with /permissive- performance on MSVC. We use latest version of MongoDB to test VS copmlier. And we know building MongoDB with VS 2017 is currently not supported, so we apply patch to support this, I attach this patch. Could you please help to take a look at this? Thanks in advance!
- repro steps:
1. git clone -c core.autocrlf=true https://github.com/mongodb/mongo D:\MongoDB\src
2. open a VS 2017 x64 command prompt and browse to D:\MongoDB\src
3. git apply mongodb.patch
4. pip.exe install -r .\buildscripts\requirements.txt
5. scons all -j4 CXXFLAGS="/wd4756 /wd4056 /permissive-"
Failures:
network_interface_factory.cpp
Unknown compiler version - please run the configure tests and report the results
D:\MongoDB\src\src\mongo/util/future.h(1430): error C3861: 'SharedState': identifier not found
D:\MongoDB\src\src\mongo/util/future.h(1441): error C3861: 'SharedState': identifier not found
- is duplicated by
-
SERVER-33112 Implement InjectThirdPartyEnvironment in build system
- Closed