mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
Fix GCC 12.1 warning false positives (#4246)
This commit is contained in:
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user