mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-09 11:40:14 +02:00
Clean up DisableSpecificWarning usage
This commit is contained in:
parent
93b425f78f
commit
e6e4ac513e
@ -94,11 +94,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>
|
||||
|
@ -137,7 +137,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -170,7 +169,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -203,7 +201,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -237,7 +234,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -272,7 +268,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -306,7 +301,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
|
@ -191,7 +191,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -224,7 +223,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -257,7 +255,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -290,7 +287,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -324,7 +320,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -358,7 +353,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
|
@ -191,7 +191,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -224,7 +223,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -257,7 +255,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -290,7 +287,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -324,7 +320,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -358,7 +353,6 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
|
@ -246,7 +246,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<AdditionalOptions>/Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<DisableSpecificWarnings>5204</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<FXCompile>
|
||||
@ -272,7 +271,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<AdditionalOptions>/Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<DisableSpecificWarnings>5204</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<FXCompile>
|
||||
@ -298,7 +296,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<AdditionalOptions>/Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<DisableSpecificWarnings>5204</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<FXCompile>
|
||||
@ -324,7 +321,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<AdditionalOptions>/Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<DisableSpecificWarnings>5204</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<FXCompile>
|
||||
@ -350,7 +346,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<AdditionalOptions>/Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<DisableSpecificWarnings>5204</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<FXCompile>
|
||||
@ -376,7 +371,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<AdditionalOptions>/Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<DisableSpecificWarnings>5204</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<FXCompile>
|
||||
@ -399,7 +393,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<AdditionalOptions>/Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<DisableSpecificWarnings>5204</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<FXCompile>
|
||||
@ -422,7 +415,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<AdditionalOptions>/Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<DisableSpecificWarnings>5204</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<FXCompile>
|
||||
@ -445,7 +437,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<AdditionalOptions>/Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<DisableSpecificWarnings>5204</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<FXCompile>
|
||||
|
@ -238,7 +238,6 @@
|
||||
<AdditionalOptions>/Zc:twoPhase- /Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -262,7 +261,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalOptions>/Zc:twoPhase- /Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -286,7 +284,6 @@
|
||||
<AdditionalOptions>/Zc:twoPhase- /Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -311,7 +308,6 @@
|
||||
<AdditionalOptions>/Zc:twoPhase- /Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -334,7 +330,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalOptions>/Zc:twoPhase- /Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -358,7 +353,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalOptions>/Zc:twoPhase- /Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -382,7 +376,6 @@
|
||||
<AdditionalOptions>/Zc:twoPhase- /Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
@ -405,7 +398,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalOptions>/Zc:twoPhase- /Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
|
||||
<OpenMPSupport>true</OpenMPSupport>
|
||||
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
|
||||
<ExternalWarningLevel>Level4</ExternalWarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
|
Loading…
x
Reference in New Issue
Block a user