diff --git a/3rdparty/ocornut-imgui/imgui.cpp b/3rdparty/ocornut-imgui/imgui.cpp index e77f3db6..2baeb8f5 100644 --- a/3rdparty/ocornut-imgui/imgui.cpp +++ b/3rdparty/ocornut-imgui/imgui.cpp @@ -353,6 +353,8 @@ #endif #ifdef __GNUC__ #pragma GCC diagnostic ignored "-Wunused-function" // warning: 'xxxx' defined but not used +#pragma GCC diagnostic ignored "-Wunused-parameter" // warning: unused parameter ‘xxxx’ +#pragma GCC diagnostic ignored "-Wtype-limits" // warning: comparison is always true due to limited range of data type #endif //-------------------------------------------------------------------------