commit dd13417d9b07cd014dbaaefdcc8291cd633542eb
parent 28e0215df7c2aeca176bb66c5ea60a29af1cf37a
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Mon, 16 May 2022 21:05:35 +0300
W32 projects: enabled more warnings
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/w32/common/common-build-settings.vcxproj b/w32/common/common-build-settings.vcxproj
@@ -26,9 +26,11 @@
<ItemDefinitionGroup>
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
+ <WarningLevel Condition="'%(ClCompile.ExternalWarningLevel)' != ''">EnableAllWarnings</WarningLevel>
+ <WarningLevel Condition="'%(ClCompile.ExternalWarningLevel)' == ''">Level4</WarningLevel>
+ <ExternalWarningLevel>Level3</ExternalWarningLevel>
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <DisableSpecificWarnings>4996</DisableSpecificWarnings>
+ <DisableSpecificWarnings>4996;4820;4127;5045</DisableSpecificWarnings>
<TreatSpecificWarningsAsErrors>4013</TreatSpecificWarningsAsErrors>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>