2023-05-16 09:41:46 -07:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2022-05-18 12:22:10 -07:00
|
|
|
From: Tyler Veness <calcmogul@gmail.com>
|
|
|
|
|
Date: Wed, 18 May 2022 09:14:24 -0700
|
2024-08-03 22:17:17 -07:00
|
|
|
Subject: [PATCH 1/2] Disable warnings
|
2022-05-18 12:22:10 -07:00
|
|
|
|
|
|
|
|
---
|
2024-05-23 06:49:20 -07:00
|
|
|
Eigen/src/Core/util/DisableStupidWarnings.h | 6 ++++++
|
|
|
|
|
1 file changed, 6 insertions(+)
|
2022-05-18 12:22:10 -07:00
|
|
|
|
|
|
|
|
diff --git a/Eigen/src/Core/util/DisableStupidWarnings.h b/Eigen/src/Core/util/DisableStupidWarnings.h
|
2024-11-16 07:44:20 -08:00
|
|
|
index ab0c542d0e24c6ecb77abfc535c8232774cba6d5..7ecd7bf8cc927d07a28c9da4ebbe1ea4d4d2b97b 100644
|
2022-05-18 12:22:10 -07:00
|
|
|
--- a/Eigen/src/Core/util/DisableStupidWarnings.h
|
|
|
|
|
+++ b/Eigen/src/Core/util/DisableStupidWarnings.h
|
2024-05-23 06:49:20 -07:00
|
|
|
@@ -81,6 +81,12 @@
|
2023-12-03 16:18:19 -08:00
|
|
|
// See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89325
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wattributes"
|
|
|
|
|
#endif
|
2024-06-09 16:53:38 -07:00
|
|
|
+#if __GNUC__ >= 11
|
2023-12-03 16:18:19 -08:00
|
|
|
+#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
|
|
|
|
+#endif
|
2024-06-04 18:26:20 -07:00
|
|
|
+#if __GNUC__ >= 12
|
2023-12-03 16:18:19 -08:00
|
|
|
+#pragma GCC diagnostic ignored "-Warray-bounds"
|
|
|
|
|
+#endif
|
2022-05-18 12:22:10 -07:00
|
|
|
#endif
|
|
|
|
|
|
2024-11-16 07:44:20 -08:00
|
|
|
#if defined __NVCC__ && defined __CUDACC__
|