Browse Source

Backends: Fixed pragma warning with old GCC.

pull/6143/head
ocornut 2 years ago
parent
commit
265b88273e
  1. 1
      backends/imgui_impl_opengl3.cpp

1
backends/imgui_impl_opengl3.cpp

@ -112,6 +112,7 @@
#endif
#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind
#pragma GCC diagnostic ignored "-Wunknown-warning-option" // warning: unknown warning group 'xxx'
#pragma GCC diagnostic ignored "-Wcast-function-type" // warning: cast between incompatible function types
#endif

Loading…
Cancel
Save