Skip to content

Commit

Permalink
Supressed additional false warning in VS 2013
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Apr 17, 2018
1 parent b3efd82 commit 84831be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Inc/DirectXMath.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion Inc/DirectXPackedVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

//------------------------------------------------------------------------------
Expand Down

0 comments on commit 84831be

Please sign in to comment.