commit 740deea3a8bfa55384360bc311a44bde07843aa8
parent 6ef0c39eb76d21a4a099840464a8b56d2fca0436
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Mon, 25 Oct 2021 19:23:42 +0300
W32 VS projects: use C17 if available
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/w32/common/common-build-settings.vcxproj b/w32/common/common-build-settings.vcxproj
@@ -32,6 +32,7 @@
<TreatSpecificWarningsAsErrors>4013</TreatSpecificWarningsAsErrors>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+ <LanguageStandard_C Condition="'%(ClCompile.LanguageStandard_C)' != ''">stdc17</LanguageStandard_C>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>