Skip to content

Commit

Permalink
Mute some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas authored and coelckers committed Jun 22, 2022
1 parent 7fc579c commit 386cb5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions libraries/glslang/glslang/Include/Common.h
Expand Up @@ -99,6 +99,7 @@ std::string to_string(const T& val) {
#endif

#if defined(_MSC_VER)
#undef strdup
#define strdup _strdup
#endif

Expand Down
4 changes: 4 additions & 0 deletions libraries/glslang/glslang/MachineIndependent/Constant.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 386cb5b

Please sign in to comment.