mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 17:30:05 +00:00
Ignore Linux stb_image warning
This commit is contained in:
parent
95f4d03c7b
commit
f9fc32e479
1 changed files with 10 additions and 0 deletions
10
scwx-qt/source/scwx/qt/external/stb_image.cpp
vendored
10
scwx-qt/source/scwx/qt/external/stb_image.cpp
vendored
|
|
@ -1,4 +1,14 @@
|
|||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#define STBI_ASSERT(x)
|
||||
#define STBI_FAILURE_USERMSG
|
||||
|
||||
#if defined(__GNUC__)
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
|
||||
#include <stb_image.h>
|
||||
|
||||
#if defined(__GNUC__)
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue