From f5c2ed411bbbc4a76e73c162e6982aac5d67f560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 18 Jan 2017 10:46:08 -0800 Subject: [PATCH] Fixed tinyexr warnings. --- examples/common/bgfx_utils.cpp | 1 + tools/texturec/texturec.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/common/bgfx_utils.cpp b/examples/common/bgfx_utils.cpp index 2b4bb5c2d..7955ed3aa 100644 --- a/examples/common/bgfx_utils.cpp +++ b/examples/common/bgfx_utils.cpp @@ -24,6 +24,7 @@ namespace stl = tinystl; BX_PRAGMA_DIAGNOSTIC_PUSH() BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wtype-limits") BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wunused-value") +BX_PRAGMA_DIAGNOSTIC_IGNORED_MSVC(4100) // error C4100: '' : unreferenced formal parameter #define MINIZ_NO_STDIO #define TINYEXR_IMPLEMENTATION #include diff --git a/tools/texturec/texturec.cpp b/tools/texturec/texturec.cpp index 0882e9ec7..6c7f2b409 100644 --- a/tools/texturec/texturec.cpp +++ b/tools/texturec/texturec.cpp @@ -60,6 +60,7 @@ BX_PRAGMA_DIAGNOSTIC_POP(); BX_PRAGMA_DIAGNOSTIC_PUSH() BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wtype-limits") BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wunused-value") +BX_PRAGMA_DIAGNOSTIC_IGNORED_MSVC(4100) // error C4100: '' : unreferenced formal parameter #define MINIZ_NO_STDIO #define TINYEXR_IMPLEMENTATION #include