summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2019-09-03 10:08:03 +0200
committerDamien George <damien.p.george@gmail.com>2019-09-03 23:27:06 +1000
commit4beb6c21caaed38cee3278e3bbab437eccdb2169 (patch)
tree47f211e225f3ba13a91bb6e3204bbc28b2d37036
parent74fe8414499c9a156dfcf348c091b3bcef4caac3 (diff)
windows/msvc: Treat compiler warnings as errors.
This is consistent with the other ports and helps catching problems early.
-rw-r--r--ports/windows/msvc/common.props1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/windows/msvc/common.props b/ports/windows/msvc/common.props
index 26ea78e7e..5fe1b45fe 100644
--- a/ports/windows/msvc/common.props
+++ b/ports/windows/msvc/common.props
@@ -18,6 +18,7 @@
<ExceptionHandling>false</ExceptionHandling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
+ <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>