1
0
mirror of https://github.com/microsoft/DirectXMath synced 2024-11-09 14:10:09 +00:00

Additional warning supression

This commit is contained in:
Chuck Walbourn 2020-03-09 21:53:00 -07:00
parent 4387792043
commit d925b421de
2 changed files with 65 additions and 0 deletions

View File

@ -1111,9 +1111,19 @@ namespace DirectX
#pragma warning(disable : 4996)
// C4996: ignore deprecation warning
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
XMVECTOR XM_DEPRECATED XM_CALLCONV XMLoadDecN4(_In_ const XMDECN4* pSource) noexcept;
XMVECTOR XM_DEPRECATED XM_CALLCONV XMLoadDec4(_In_ const XMDEC4* pSource) noexcept;
XMVECTOR XM_DEPRECATED XM_CALLCONV XMLoadXDec4(_In_ const XMXDEC4* pSource) noexcept;
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#pragma warning(pop)
/****************************************************************************
@ -1158,9 +1168,19 @@ namespace DirectX
#pragma warning(disable : 4996)
// C4996: ignore deprecation warning
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
void XM_DEPRECATED XM_CALLCONV XMStoreDecN4(_Out_ XMDECN4* pDestination, _In_ FXMVECTOR V) noexcept;
void XM_DEPRECATED XM_CALLCONV XMStoreDec4(_Out_ XMDEC4* pDestination, _In_ FXMVECTOR V) noexcept;
void XM_DEPRECATED XM_CALLCONV XMStoreXDec4(_Out_ XMXDEC4* pDestination, _In_ FXMVECTOR V) noexcept;
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#pragma warning(pop)
/****************************************************************************

View File

@ -1508,6 +1508,11 @@ inline XMVECTOR XM_CALLCONV XMLoadXDecN4(const XMXDECN4* pSource) noexcept
#pragma warning(disable : 4996)
// C4996: ignore deprecation warning
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
_Use_decl_annotations_
inline XMVECTOR XM_CALLCONV XMLoadXDec4(const XMXDEC4* pSource) noexcept
{
@ -1554,6 +1559,10 @@ inline XMVECTOR XM_CALLCONV XMLoadXDec4(const XMXDEC4* pSource) noexcept
#endif
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#pragma warning(pop)
//------------------------------------------------------------------------------
@ -1695,6 +1704,11 @@ inline XMVECTOR XM_CALLCONV XMLoadUDec4(const XMUDEC4* pSource) noexcept
#pragma warning(disable : 4996)
// C4996: ignore deprecation warning
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
_Use_decl_annotations_
inline XMVECTOR XM_CALLCONV XMLoadDecN4(const XMDECN4* pSource) noexcept
{
@ -1788,6 +1802,10 @@ inline XMVECTOR XM_CALLCONV XMLoadDec4(const XMDEC4* pSource) noexcept
#endif
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#pragma warning(pop)
//------------------------------------------------------------------------------
@ -2895,6 +2913,11 @@ inline void XM_CALLCONV XMStoreXDecN4
#pragma warning(disable : 4996)
// C4996: ignore deprecation warning
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
_Use_decl_annotations_
inline void XM_CALLCONV XMStoreXDec4
(
@ -2962,6 +2985,10 @@ inline void XM_CALLCONV XMStoreXDec4
#endif
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#pragma warning(pop)
//------------------------------------------------------------------------------
@ -3177,6 +3204,11 @@ inline void XM_CALLCONV XMStoreUDec4
#pragma warning(disable : 4996)
// C4996: ignore deprecation warning
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
_Use_decl_annotations_
inline void XM_CALLCONV XMStoreDecN4
(
@ -3298,6 +3330,10 @@ inline void XM_CALLCONV XMStoreDec4
#endif
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#pragma warning(pop)
//------------------------------------------------------------------------------
@ -4117,6 +4153,11 @@ inline XMXDECN4::XMXDECN4(const float* pArray) noexcept
#pragma warning(disable : 4996)
// C4996: ignore deprecation warning
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
//------------------------------------------------------------------------------
inline XMXDEC4::XMXDEC4
@ -4189,6 +4230,10 @@ inline XMDEC4::XMDEC4(const float* pArray) noexcept
XMStoreDec4(this, XMLoadFloat4(reinterpret_cast<const XMFLOAT4*>(pArray)));
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#pragma warning(pop)
/****************************************************************************