Code review for standard library header usage for standalone mods

This commit is contained in:
Chuck Walbourn
2020-12-31 13:53:09 -08:00
parent e14c36125c
commit 18c2d9a5ca
15 changed files with 46 additions and 9 deletions

View File

@@ -23,8 +23,9 @@
#include "WICTextureLoader12.h"
#include <assert.h>
#include <algorithm>
#include <cassert>
#include <cstring>
#include <wincodec.h>
@@ -37,6 +38,13 @@
#pragma clang diagnostic ignored "-Wswitch-enum"
#endif
// Off by default warnings
#pragma warning(disable : 4619 4616 4623 4626 5027)
// C4619/4616 #pragma warning warnings
// C4623 default constructor was implicitly defined as deleted
// C4626 assignment operator was implicitly defined as deleted
// C5027 move assignment operator was implicitly defined as deleted
#define D3DX12_NO_STATE_OBJECT_HELPERS
#include "d3dx12.h"