@ -331,6 +331,9 @@
# pragma clang diagnostic ignored "-Wglobal-constructors" // warning : declaration requires a global destructor // similar to above, not sure what the exact difference it.
# pragma clang diagnostic ignored "-Wsign-conversion" // warning : implicit conversion changes signedness //
# endif
# ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wunused-function" // warning: 'xxxx' defined but not used
# endif
//-------------------------------------------------------------------------
// STB libraries implementation
@ -352,10 +355,6 @@ namespace IMGUI_STB_NAMESPACE
# pragma clang diagnostic ignored "-Wunused-function"
# pragma clang diagnostic ignored "-Wmissing-prototypes"
# endif
# ifdef __GNUC__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-function"
# endif
# define STBRP_ASSERT(x) IM_ASSERT(x)
# ifndef IMGUI_DISABLE_STB_RECT_PACK_IMPLEMENTATION
@ -380,9 +379,6 @@ namespace IMGUI_STB_NAMESPACE
# ifdef __clang__
# pragma clang diagnostic pop
# endif
# ifdef __GNUC__
# pragma GCC diagnostic pop
# endif
# ifdef IMGUI_STB_NAMESPACE
} // namespace ImStb