[build] Fix compilation with GCC 13 (#5322)

This commit is contained in:
Tyler Veness
2023-05-16 13:31:58 -07:00
committed by GitHub
parent d223e4040b
commit fd294bdd71
16 changed files with 160 additions and 76 deletions

View File

@@ -78,7 +78,7 @@
// This warning is a false positive
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
#if __GNUC__==12
#if __GNUC__>=12
// This warning is a false positive
#pragma GCC diagnostic ignored "-Warray-bounds"
#endif