mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
* Disable class-memaccess warning in Eigen * Shim NiFpga_OpenHostMemoryBuffer * Don't deploy .debug files in integration tests
32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
From 3bfc3d1e3cbc9d7032446cc4aa6246d1c7750901 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 | 11 +++++++++++
|
|
1 file changed, 11 insertions(+)
|
|
|
|
diff --git a/Eigen/src/Core/util/DisableStupidWarnings.h b/Eigen/src/Core/util/DisableStupidWarnings.h
|
|
index fe0cfec..d973255 100755
|
|
--- a/Eigen/src/Core/util/DisableStupidWarnings.h
|
|
+++ b/Eigen/src/Core/util/DisableStupidWarnings.h
|
|
@@ -71,6 +71,17 @@
|
|
// See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89325
|
|
#pragma GCC diagnostic ignored "-Wattributes"
|
|
#endif
|
|
+ #if __GNUC__>=8
|
|
+ #pragma GCC diagnostic ignored "-Wclass-memaccess"
|
|
+ #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__
|