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:
parent
f4e6ac04ce
commit
73000ac7d7
@ -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
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user