1
0
mirror of https://github.com/microsoft/DirectXMath synced 2024-11-24 21:20:13 +00:00

Wrap #pragma warnings to avoid GCC compilation warnings

This commit is contained in:
sbd1138 2021-11-29 12:09:32 -08:00 committed by GitHub
parent f4e6ac04ce
commit 73000ac7d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,9 +17,11 @@
//------------------------------------------------------------------------------
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4701)
// C4701: false positives
#endif
inline XMVECTOR XM_CALLCONV XMConvertVectorIntToFloat
(
@ -218,7 +220,9 @@ inline XMVECTOR XM_CALLCONV XMConvertVectorFloatToUInt
#endif
}
#ifdef _MSC_VER
#pragma warning(pop)
#endif
/****************************************************************************
*