mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Fixed GCC warnings.
This commit is contained in:
parent
5e5a0a8a9e
commit
4098dbb8fb
1 changed files with 2 additions and 0 deletions
|
@ -77,7 +77,9 @@ void imguiFree(void* _ptr, void*);
|
|||
#define IMGUI_CLAMP(_a, _min, _max) IMGUI_MIN(IMGUI_MAX(_a, _min), _max)
|
||||
|
||||
BX_PRAGMA_DIAGNOSTIC_IGNORED_MSVC(4505); // error C4505: '' : unreferenced local function has been removed
|
||||
BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wunused-function"); // warning: ‘int rect_width_compare(const void*, const void*)’ defined but not used
|
||||
BX_PRAGMA_DIAGNOSTIC_PUSH();
|
||||
BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wtype-limits"); // warning: comparison is always true due to limited range of data type
|
||||
#define STBTT_malloc(_size, _userData) imguiMalloc(_size, _userData)
|
||||
#define STBTT_free(_ptr, _userData) imguiFree(_ptr, _userData)
|
||||
#define STB_RECT_PACK_IMPLEMENTATION
|
||||
|
|
Loading…
Reference in a new issue