suppress warning C26812
This commit is contained in:
parent
7cfccdbf3c
commit
ce5edaa689
|
|
@ -1,5 +0,0 @@
|
|||
// 提示文件帮助 Visual Studio IDE 解释 Visual C++ 标识符,
|
||||
// 如函数和宏的名称。
|
||||
// 有关详细信息,请参见 https://go.microsoft.com/fwlink/?linkid=865984
|
||||
|
||||
#define KGE_API
|
||||
|
|
@ -185,7 +185,7 @@
|
|||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="cpp.hint" />
|
||||
<None Include="suppress_warning.ruleset" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{FF7F943D-A89C-4E6C-97CF-84F7D8FF8EDF}</ProjectGuid>
|
||||
|
|
|
|||
|
|
@ -541,6 +541,6 @@
|
|||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="cpp.hint" />
|
||||
<None Include="suppress_warning.ruleset" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RuleSet Name="suppress_warning" ToolsVersion="16.0">
|
||||
<Include Path="nativerecommendedrules.ruleset" Action="Default" />
|
||||
<Rules AnalyzerId="Microsoft.Analyzers.NativeCodeAnalysis" RuleNamespace="Microsoft.Rules.Native">
|
||||
<Rule Id="C26812" Action="None" />
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
Loading…
Reference in New Issue