Skip to content

Commit

Permalink
Clean up use of DisableSpecificWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Sep 8, 2021
1 parent 967abcc commit 27d4d0d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 27 deletions.
5 changes: 4 additions & 1 deletion DirectXMesh/DirectXMeshP.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,14 @@

#ifdef _GAMING_XBOX_SCARLETT
#pragma warning(push)
#pragma warning(disable: 5249)
#pragma warning(disable: 5204 5249)
#include <d3d12_xs.h>
#pragma warning(pop)
#elif defined(_GAMING_XBOX)
#pragma warning(push)
#pragma warning(disable: 5204)
#include <d3d12_x.h>
#pragma warning(pop)
#elif defined(_XBOX_ONE) && defined(_TITLE)
#include <d3d12_x.h>
#include <d3d11_x.h>
Expand Down
6 changes: 0 additions & 6 deletions DirectXMesh/DirectXMesh_Desktop_2019.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -168,7 +167,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -200,7 +198,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -233,7 +230,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -267,7 +263,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -300,7 +295,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down
6 changes: 0 additions & 6 deletions DirectXMesh/DirectXMesh_Desktop_2019_Win10.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -222,7 +221,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -254,7 +252,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -286,7 +283,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -319,7 +315,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -352,7 +347,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down
6 changes: 0 additions & 6 deletions DirectXMesh/DirectXMesh_Desktop_2022_Win10.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -222,7 +221,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -254,7 +252,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -286,7 +283,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -319,7 +315,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down Expand Up @@ -352,7 +347,6 @@
<PrecompiledHeaderFile>DirectXMeshP.h</PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down
8 changes: 0 additions & 8 deletions DirectXMesh/DirectXMesh_Windows10_2019.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@
<ConformanceMode>true</ConformanceMode>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<SupportJustMyCode>false</SupportJustMyCode>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand All @@ -241,7 +240,6 @@
<PreprocessorDefinitions>_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand All @@ -264,7 +262,6 @@
<ConformanceMode>true</ConformanceMode>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<SupportJustMyCode>false</SupportJustMyCode>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand All @@ -288,7 +285,6 @@
<ConformanceMode>true</ConformanceMode>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<SupportJustMyCode>false</SupportJustMyCode>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand All @@ -310,7 +306,6 @@
<PreprocessorDefinitions>_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand All @@ -333,7 +328,6 @@
<PreprocessorDefinitions>_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand All @@ -356,7 +350,6 @@
<ConformanceMode>true</ConformanceMode>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<SupportJustMyCode>false</SupportJustMyCode>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand All @@ -378,7 +371,6 @@
<PreprocessorDefinitions>_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
<Link>
Expand Down

0 comments on commit 27d4d0d

Please sign in to comment.