Use C++17 explicitly in MSVC project (#7751)

Use C++17 explicitly instead of relying on the moving target of
"latest" to match all other compiler settings.
This commit is contained in:
Michał Janiszewski 2018-07-03 13:07:14 +02:00 committed by Ted John
parent ffc285497a
commit 1135cbb5d0
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@
<RuntimeLibrary Condition="'$(UseSharedLibs)'=='true'">MultiThreadedDLL</RuntimeLibrary>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<TreatWarningAsError>true</TreatWarningAsError>
<AdditionalOptions>/utf-8 /std:c++latest /permissive- /Zc:externConstexpr</AdditionalOptions>
<AdditionalOptions>/utf-8 /std:c++17 /permissive- /Zc:externConstexpr</AdditionalOptions>
</ClCompile>
<Link>
<AdditionalDependencies>imm32.lib;version.lib;winmm.lib;crypt32.lib;wldap32.lib;%(AdditionalDependencies)</AdditionalDependencies>