1
0
mirror of https://github.com/microsoft/DirectXMath synced 2024-09-19 14:49:54 +00:00

Supressed additional false warning in VS 2013

This commit is contained in:
Chuck Walbourn 2018-04-17 10:41:48 -07:00
parent b3efd82762
commit 84831beb5a
2 changed files with 4 additions and 2 deletions

View File

@ -268,11 +268,12 @@ inline bool XMComparisonAnyOutOfBounds(uint32_t CR) { return (((CR) & XM_CRMASK_
****************************************************************************/
#pragma warning(push)
#pragma warning(disable:4068 4201 4365 4324 4820)
#pragma warning(disable:4068 4201 4365 4324 4608 4820)
// C4068: ignore unknown pragmas
// C4201: nonstandard extension used : nameless struct/union
// C4365: Off by default noise
// C4324/4820: padding warnings
// C4608: false union intialization warning from VS 2013
#ifdef _PREFAST_
#pragma prefast(push)

View File

@ -18,10 +18,11 @@ namespace PackedVector
{
#pragma warning(push)
#pragma warning(disable:4201 4365 4324 4996)
#pragma warning(disable:4201 4365 4324 4608 4996)
// C4201: nonstandard extension used
// C4365: Off by default noise
// C4324: alignment padding warnings
// C4608: false union intialization warning from VS 2013
// C4996: deprecation warnings
//------------------------------------------------------------------------------