aboutsummaryrefslogtreecommitdiff
path: root/build_msvc
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-09-05 15:08:58 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2019-01-15 20:15:26 +0100
commitb9dafe7d9ffcbe7928ffbfba816b54e196c57664 (patch)
treeb2aa7f929c950e0434aebaae16a625afa0abcbfe /build_msvc
parent9c719987718d9fcc3a689e50f5212acc7ead7606 (diff)
Fix remaining compiler warnings (MSVC). Move disabling of specific warnings from /nowarn to project file.
Diffstat (limited to 'build_msvc')
-rw-r--r--build_msvc/common.vcxproj4
1 files changed, 3 insertions, 1 deletions
diff --git a/build_msvc/common.vcxproj b/build_msvc/common.vcxproj
index 5c87026efe..c7c20622e4 100644
--- a/build_msvc/common.vcxproj
+++ b/build_msvc/common.vcxproj
@@ -15,6 +15,8 @@
<ItemDefinitionGroup>
<ClCompile>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
+ <DisableSpecificWarnings>4018;4244;4267;4715;4805;</DisableSpecificWarnings>
+ <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
</ItemDefinitionGroup>
-</Project> \ No newline at end of file
+</Project>