Fixes GCC warnings (#8241)

This commit is contained in:
Raffaello Bertini
2024-12-18 17:58:19 +01:00
committed by ocornut
parent 32f11402f9
commit cd6c83cdcc
7 changed files with 21 additions and 5 deletions
+1
View File
@@ -139,6 +139,7 @@ Index of this file:
#elif defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind
#pragma GCC diagnostic ignored "-Wfloat-equal" // warning: comparing floating-point with '==' or '!=' is unsafe
#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
#endif