Merge pull request #197 from diamante0018/fix-some-stuff
[General] Disable warning & more
This commit is contained in:
commit
aa9e1fdd4b
@ -91,4 +91,4 @@ namespace Components
|
||||
Utils::Hook(0x4A54ED, SlowMotion::DrawConnectionInterruptedStub, HOOK_CALL).install()->quick();
|
||||
Utils::Hook(0x4A54FB, SlowMotion::DrawConnectionInterruptedStub, HOOK_CALL).install()->quick();
|
||||
}
|
||||
}
|
||||
}
|
@ -54,14 +54,7 @@
|
||||
#include <Xinput.h>
|
||||
#pragma comment (lib, "xinput.lib")
|
||||
|
||||
// Usefull for debugging
|
||||
template <size_t S> class Sizer { };
|
||||
#define BindNum(x, y) Sizer<x> y;
|
||||
#define Size_Of(x, y) BindNum(sizeof(x), y)
|
||||
#define Offset_Of(x, y, z) BindNum(offsetof(x, y), z)
|
||||
|
||||
// Submodules
|
||||
// Ignore the warnings, it's not our code!
|
||||
// Ignore the warnings
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4005)
|
||||
#pragma warning(disable: 4091)
|
||||
@ -79,6 +72,7 @@ template <size_t S> class Sizer { };
|
||||
#pragma warning(disable: 6258)
|
||||
#pragma warning(disable: 6386)
|
||||
#pragma warning(disable: 6387)
|
||||
#pragma warning(disable: 26812)
|
||||
|
||||
#include <zlib.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user