mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-21 12:00:06 +00:00
Fix annoying warnings I saw with clang about ignored pragmas by ifdef'ing MSVC specific things. (#424)
This commit is contained in:
parent
3154a66b41
commit
a4e1c046d5
@ -11,6 +11,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// Off by default warnings
|
||||
#pragma warning(disable : 4619 4616 4061 4265 4365 4571 4623 4625 4626 4628 4668 4710 4711 4746 4774 4820 4987 5026 5027 5031 5032 5039 5045 5219 5246 5264 26812)
|
||||
// C4619/4616 #pragma warning warnings
|
||||
@ -49,6 +50,7 @@
|
||||
// Xbox One XDK related Off by default warnings
|
||||
#pragma warning(disable : 4643)
|
||||
// C4643 Forward declaring in namespace std is not permitted by the C++ Standard
|
||||
#endif
|
||||
|
||||
#ifdef __INTEL_COMPILER
|
||||
#pragma warning(disable : 161)
|
||||
|
Loading…
Reference in New Issue
Block a user