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
|
2023-05-16 09:41:46 -07:00
|
|
|
Subject: [PATCH 1/3] Disable warnings
|
2022-05-18 12:22:10 -07:00
|
|
|
|
|
|
|
|
---
|
2022-10-14 23:36:47 -07:00
|
|
|
Eigen/src/Core/util/DisableStupidWarnings.h | 11 +++++++++++
|
|
|
|
|
1 file changed, 11 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
|
2023-05-16 13:31:58 -07:00
|
|
|
index fe0cfec0bc2461ac44abca8f3d05b468d3c60fd9..9a630e4ae692aee0277d60b3083c968d087920dd 100755
|
2022-05-18 12:22:10 -07:00
|
|
|
--- a/Eigen/src/Core/util/DisableStupidWarnings.h
|
|
|
|
|
+++ b/Eigen/src/Core/util/DisableStupidWarnings.h
|
2022-10-14 23:36:47 -07:00
|
|
|
@@ -71,6 +71,17 @@
|
2022-05-18 12:22:10 -07:00
|
|
|
// See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89325
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wattributes"
|
|
|
|
|
#endif
|
2022-10-14 23:36:47 -07:00
|
|
|
+ #if __GNUC__>=8
|
|
|
|
|
+ #pragma GCC diagnostic ignored "-Wclass-memaccess"
|
|
|
|
|
+ #endif
|
2022-05-19 18:50:29 -07:00
|
|
|
+ #if __GNUC__>=11
|
2022-05-18 12:22:10 -07:00
|
|
|
+ // This warning is a false positive
|
|
|
|
|
+ #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
|
|
|
|
+ #endif
|
2023-05-16 13:31:58 -07:00
|
|
|
+ #if __GNUC__>=12
|
2022-05-18 12:22:10 -07:00
|
|
|
+ // This warning is a false positive
|
|
|
|
|
+ #pragma GCC diagnostic ignored "-Warray-bounds"
|
|
|
|
|
+ #endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if defined __NVCC__
|