mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
16 lines
692 B
Diff
16 lines
692 B
Diff
|
|
diff --git a/wpimath/src/main/native/eigeninclude/Eigen/src/Core/util/DisableStupidWarnings.h b/wpimath/src/main/native/eigeninclude/Eigen/src/Core/util/DisableStupidWarnings.h
|
||
|
|
index 74f74cc42..5fe86fa0d 100644
|
||
|
|
--- a/wpimath/src/main/native/eigeninclude/Eigen/src/Core/util/DisableStupidWarnings.h
|
||
|
|
+++ b/wpimath/src/main/native/eigeninclude/Eigen/src/Core/util/DisableStupidWarnings.h
|
||
|
|
@@ -61,6 +61,10 @@
|
||
|
|
// See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89325
|
||
|
|
#pragma GCC diagnostic ignored "-Wattributes"
|
||
|
|
#endif
|
||
|
|
+ #if __GNUC__==11
|
||
|
|
+ // This warning is a false positive
|
||
|
|
+ #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||
|
|
+ #endif
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#if defined __NVCC__
|