Explorar o código

GCC: Disable deprecated-enum-enum-conversion for gcc as well (#4997)

Borislav Stanimirov %!s(int64=3) %!d(string=hai) anos
pai
achega
955aacfbc5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      imgui_widgets.cpp

+ 1 - 0
imgui_widgets.cpp

@@ -82,6 +82,7 @@ Index of this file:
 #pragma GCC diagnostic ignored "-Wpragmas"                          // warning: unknown option after '#pragma GCC diagnostic' kind
 #pragma GCC diagnostic ignored "-Wformat-nonliteral"                // warning: format not a string literal, format string not checked
 #pragma GCC diagnostic ignored "-Wclass-memaccess"                  // [__GNUC__ >= 8] warning: 'memset/memcpy' clearing/writing an object of type 'xxxx' with no trivial copy-assignment; use assignment or value-initialization instead
+#pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion"  // warning: bitwise operation between different enumeration types ('XXXFlags_' and 'XXXFlagsPrivate_') is deprecated
 #endif
 
 //-------------------------------------------------------------------------