diff --git a/DDSTextureLoader/DDSTextureLoader11.cpp b/DDSTextureLoader/DDSTextureLoader11.cpp index 7bf9c87..a21ec97 100644 --- a/DDSTextureLoader/DDSTextureLoader11.cpp +++ b/DDSTextureLoader/DDSTextureLoader11.cpp @@ -16,8 +16,8 @@ #include "DDSTextureLoader11.h" -#include #include +#include #include #ifdef __clang__ diff --git a/DDSTextureLoader/DDSTextureLoader11.h b/DDSTextureLoader/DDSTextureLoader11.h index 53e588e..c8a5905 100644 --- a/DDSTextureLoader/DDSTextureLoader11.h +++ b/DDSTextureLoader/DDSTextureLoader11.h @@ -18,6 +18,7 @@ #include +#include #include diff --git a/DDSTextureLoader/DDSTextureLoader12.cpp b/DDSTextureLoader/DDSTextureLoader12.cpp index d7173d2..ea8dd72 100644 --- a/DDSTextureLoader/DDSTextureLoader12.cpp +++ b/DDSTextureLoader/DDSTextureLoader12.cpp @@ -16,8 +16,8 @@ #include "DDSTextureLoader12.h" -#include #include +#include #include #ifdef __clang__ diff --git a/DDSTextureLoader/DDSTextureLoader12.h b/DDSTextureLoader/DDSTextureLoader12.h index 0bddae8..490564e 100644 --- a/DDSTextureLoader/DDSTextureLoader12.h +++ b/DDSTextureLoader/DDSTextureLoader12.h @@ -18,6 +18,7 @@ #include +#include #include #include #include diff --git a/DDSTextureLoader/DDSTextureLoader9.cpp b/DDSTextureLoader/DDSTextureLoader9.cpp index 2f460e9..ee0f23f 100644 --- a/DDSTextureLoader/DDSTextureLoader9.cpp +++ b/DDSTextureLoader/DDSTextureLoader9.cpp @@ -18,8 +18,9 @@ #include -#include #include +#include +#include #include #include diff --git a/DDSTextureLoader/DDSTextureLoader9.h b/DDSTextureLoader/DDSTextureLoader9.h index 57166da..811514c 100644 --- a/DDSTextureLoader/DDSTextureLoader9.h +++ b/DDSTextureLoader/DDSTextureLoader9.h @@ -21,6 +21,7 @@ #include +#include #include diff --git a/ScreenGrab/ScreenGrab11.cpp b/ScreenGrab/ScreenGrab11.cpp index 7b10857..5e7c728 100644 --- a/ScreenGrab/ScreenGrab11.cpp +++ b/ScreenGrab/ScreenGrab11.cpp @@ -23,8 +23,10 @@ #include "ScreenGrab11.h" -#include #include +#include +#include +#include #include #include diff --git a/ScreenGrab/ScreenGrab12.cpp b/ScreenGrab/ScreenGrab12.cpp index 676f02b..1a4005a 100644 --- a/ScreenGrab/ScreenGrab12.cpp +++ b/ScreenGrab/ScreenGrab12.cpp @@ -23,8 +23,10 @@ #include "ScreenGrab12.h" -#include #include +#include +#include +#include #include #include diff --git a/ScreenGrab/ScreenGrab9.cpp b/ScreenGrab/ScreenGrab9.cpp index 86a00d7..c61dcc5 100644 --- a/ScreenGrab/ScreenGrab9.cpp +++ b/ScreenGrab/ScreenGrab9.cpp @@ -17,8 +17,10 @@ #include "ScreenGrab9.h" -#include #include +#include +#include +#include #include #include diff --git a/WICTextureLoader/WICTextureLoader11.cpp b/WICTextureLoader/WICTextureLoader11.cpp index 2be2624..5b686bd 100644 --- a/WICTextureLoader/WICTextureLoader11.cpp +++ b/WICTextureLoader/WICTextureLoader11.cpp @@ -27,13 +27,14 @@ #include "WICTextureLoader11.h" #include -#include #include #include #include +#include +#include #include #ifdef __clang__ @@ -41,6 +42,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 + using namespace DirectX; using Microsoft::WRL::ComPtr; diff --git a/WICTextureLoader/WICTextureLoader11.h b/WICTextureLoader/WICTextureLoader11.h index 0ede2ea..79dc38c 100644 --- a/WICTextureLoader/WICTextureLoader11.h +++ b/WICTextureLoader/WICTextureLoader11.h @@ -25,6 +25,7 @@ #include +#include #include namespace DirectX diff --git a/WICTextureLoader/WICTextureLoader12.cpp b/WICTextureLoader/WICTextureLoader12.cpp index 7483715..83e49a3 100644 --- a/WICTextureLoader/WICTextureLoader12.cpp +++ b/WICTextureLoader/WICTextureLoader12.cpp @@ -23,8 +23,9 @@ #include "WICTextureLoader12.h" -#include #include +#include +#include #include @@ -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" diff --git a/WICTextureLoader/WICTextureLoader12.h b/WICTextureLoader/WICTextureLoader12.h index d1fa2bb..fa3b793 100644 --- a/WICTextureLoader/WICTextureLoader12.h +++ b/WICTextureLoader/WICTextureLoader12.h @@ -22,6 +22,7 @@ #include +#include #include #include diff --git a/WICTextureLoader/WICTextureLoader9.cpp b/WICTextureLoader/WICTextureLoader9.cpp index 9ab977c..a939da9 100644 --- a/WICTextureLoader/WICTextureLoader9.cpp +++ b/WICTextureLoader/WICTextureLoader9.cpp @@ -24,8 +24,9 @@ #include -#include #include +#include +#include #include #include @@ -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 + using namespace DirectX; using Microsoft::WRL::ComPtr; diff --git a/WICTextureLoader/WICTextureLoader9.h b/WICTextureLoader/WICTextureLoader9.h index bbe5e5d..f864dc7 100644 --- a/WICTextureLoader/WICTextureLoader9.h +++ b/WICTextureLoader/WICTextureLoader9.h @@ -24,6 +24,7 @@ #endif #include +#include #include namespace DirectX