Skip to content

Commit

Permalink
Added comment explaining reason for supressing 4005 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn_cp authored and walbourn_cp committed Jan 21, 2014
1 parent 8a4d273 commit 31b5be9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Src/ScreenGrab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP)

// VS 2010's stdint.h conflicts with intsafe.h
#pragma warning(push)
#pragma warning(disable : 4005)
#include <wincodec.h>
Expand Down
1 change: 1 addition & 0 deletions Src/WICTextureLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

#include "pch.h"

// VS 2010's stdint.h conflicts with intsafe.h
#pragma warning(push)
#pragma warning(disable : 4005)
#include <wincodec.h>
Expand Down
1 change: 1 addition & 0 deletions Src/dds.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <dxgiformat.h>
#endif

// VS 2010's stdint.h conflicts with intsafe.h
#pragma warning(push)
#pragma warning(disable : 4005)
#include <stdint.h>
Expand Down
1 change: 1 addition & 0 deletions Src/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include <string>
#include <vector>

// VS 2010's stdint.h conflicts with intsafe.h
#pragma warning(push)
#pragma warning(disable : 4005)
#include <stdint.h>
Expand Down

0 comments on commit 31b5be9

Please sign in to comment.