mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
This reduces commit noise when other git versions are used. The version was removed by passing `--no-signature` to `git format-patch` which is now documented in the readme.
29 lines
949 B
Diff
29 lines
949 B
Diff
From bfd3aa822ff70908c44ad2880b91d9a8dbc1ce7e Mon Sep 17 00:00:00 2001
|
|
From: Tyler Veness <calcmogul@gmail.com>
|
|
Date: Wed, 18 May 2022 09:14:24 -0700
|
|
Subject: [PATCH] Disable warnings
|
|
|
|
---
|
|
Eigen/src/Core/util/DisableStupidWarnings.h | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/Eigen/src/Core/util/DisableStupidWarnings.h b/Eigen/src/Core/util/DisableStupidWarnings.h
|
|
index fe0cfec0b..9e8a0e7a9 100755
|
|
--- a/Eigen/src/Core/util/DisableStupidWarnings.h
|
|
+++ b/Eigen/src/Core/util/DisableStupidWarnings.h
|
|
@@ -71,6 +71,14 @@
|
|
// 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
|
|
+ #if __GNUC__==12
|
|
+ // This warning is a false positive
|
|
+ #pragma GCC diagnostic ignored "-Warray-bounds"
|
|
+ #endif
|
|
#endif
|
|
|
|
#if defined __NVCC__
|