Treat warnings as errors (#249)

* Treat warnings as errors

* fix warnings
This commit is contained in:
Joseph Petersen
2019-12-21 15:51:41 +01:00
committed by Tingluo Huang
parent 300bc67950
commit ac1a076a3b
3 changed files with 53 additions and 48 deletions

View File

@@ -46,4 +46,9 @@
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
</PropertyGroup>
<!-- Set Treat tarnings as errors -->
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
</Project>