Silence more zealous GCC warning. (#8241)

This commit is contained in:
ocornut
2024-12-18 18:13:55 +01:00
parent cd6c83cdcc
commit 457fae24e7
5 changed files with 7 additions and 2 deletions

View File

@@ -137,6 +137,7 @@
#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 (for loader)
#pragma GCC diagnostic ignored "-Wstrict-overflow" // warning: assuming signed overflow does not occur when simplifying division / ..when changing X +- C1 cmp C2 to X cmp C2 -+ C1
#endif
// GL includes