mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 06:42:12 +00:00
Mute some warnings
This commit is contained in:
parent
7fc579c8b2
commit
386cb5bfb2
2 changed files with 5 additions and 0 deletions
|
@ -99,6 +99,7 @@ std::string to_string(const T& val) {
|
|||
#endif
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#undef strdup
|
||||
#define strdup _strdup
|
||||
#endif
|
||||
|
||||
|
|
|
@ -42,6 +42,10 @@
|
|||
#include <cstdlib>
|
||||
#include <climits>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable: 4146) // warning C4146: unary minus operator applied to unsigned type, result still unsigned
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
using namespace glslang;
|
||||
|
|
Loading…
Reference in a new issue