mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
30 lines
1016 B
Diff
30 lines
1016 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Tyler Veness <calcmogul@gmail.com>
|
|
Date: Wed, 18 May 2022 09:14:24 -0700
|
|
Subject: [PATCH 1/2] Disable warnings
|
|
|
|
---
|
|
Eigen/src/Core/util/DisableStupidWarnings.h | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
diff --git a/Eigen/src/Core/util/DisableStupidWarnings.h b/Eigen/src/Core/util/DisableStupidWarnings.h
|
|
index ab0c542d0e24c6ecb77abfc535c8232774cba6d5..031d75a4c8b715dafe7158fdc5c42cd4fb069235 100644
|
|
--- a/Eigen/src/Core/util/DisableStupidWarnings.h
|
|
+++ b/Eigen/src/Core/util/DisableStupidWarnings.h
|
|
@@ -81,6 +81,15 @@
|
|
// See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89325
|
|
#pragma GCC diagnostic ignored "-Wattributes"
|
|
#endif
|
|
+#if __GNUC__ >= 11
|
|
+#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
|
+#endif
|
|
+#if __GNUC__ >= 12
|
|
+#pragma GCC diagnostic ignored "-Warray-bounds"
|
|
+#endif
|
|
+#if __GNUC__ >= 13
|
|
+#pragma GCC diagnostic ignored "-Wstringop-overflow"
|
|
+#endif
|
|
#endif
|
|
|
|
#if defined __NVCC__ && defined __CUDACC__
|