Fix GCC 12.1 warning false positives (#4246)

This commit is contained in:
Tyler Veness
2022-05-18 12:22:10 -07:00
committed by GitHub
parent 5876b40f08
commit 6a4752dcdc
15 changed files with 144 additions and 36 deletions

View File

@@ -75,6 +75,10 @@
// This warning is a false positive
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
#if __GNUC__==12
// This warning is a false positive
#pragma GCC diagnostic ignored "-Warray-bounds"
#endif
#endif
#if defined __NVCC__