mirror of https://github.com/ocornut/imgui
Backends: OpenGL3: Fixed unsupported option warning with apple clang (#7810)
This commit is contained in:
parent
605c8d7110
commit
fe09ebbe0a
|
@ -124,6 +124,7 @@
|
||||||
// Clang/GCC warnings with -Weverything
|
// Clang/GCC warnings with -Weverything
|
||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-warning-option" // warning: ignore unknown flags
|
||||||
#pragma clang diagnostic ignored "-Wold-style-cast" // warning: use of old-style cast
|
#pragma clang diagnostic ignored "-Wold-style-cast" // warning: use of old-style cast
|
||||||
#pragma clang diagnostic ignored "-Wsign-conversion" // warning: implicit conversion changes signedness
|
#pragma clang diagnostic ignored "-Wsign-conversion" // warning: implicit conversion changes signedness
|
||||||
#pragma clang diagnostic ignored "-Wunused-macros" // warning: macro is not used
|
#pragma clang diagnostic ignored "-Wunused-macros" // warning: macro is not used
|
||||||
|
|
Loading…
Reference in New Issue