mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
[Analyzers][CPP]Turn on C26451 and fix code (#21230)
* Turn on rule as error and fixing code * Add packages to external include paths * Disable warrnings on external code.
This commit is contained in:
@@ -44,7 +44,8 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\..\deps\cziplib\src\zip.c">
|
||||
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
||||
<!-- Disabling warnings for external code -->
|
||||
<DisableSpecificWarnings>26451;4267;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<ClCompile Include="EventViewer.cpp" />
|
||||
<ClCompile Include="InstallationFolder.cpp" />
|
||||
|
||||
Reference in New Issue
Block a user