From 2e6ac0ca491755ef5c1b83a1349be6b1c89e993b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 4 Apr 2015 16:23:50 -0700 Subject: [PATCH] Silence -Wshadow warning in stb_image. --- examples/common/nanovg/nanovg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/common/nanovg/nanovg.cpp b/examples/common/nanovg/nanovg.cpp index 7c472f26..2f0106dc 100644 --- a/examples/common/nanovg/nanovg.cpp +++ b/examples/common/nanovg/nanovg.cpp @@ -36,6 +36,7 @@ BX_PRAGMA_DIAGNOSTIC_POP(); BX_PRAGMA_DIAGNOSTIC_PUSH(); BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wmissing-field-initializers"); +BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wshadow"); #define STB_IMAGE_IMPLEMENTATION #include BX_PRAGMA_DIAGNOSTIC_POP();