2023-05-16 09:41:46 -07:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2023-01-21 15:16:12 -08:00
|
|
|
From: Peter Johnson <johnson.peter@gmail.com>
|
|
|
|
|
Date: Fri, 20 Jan 2023 23:41:56 -0800
|
2023-12-03 16:18:19 -08:00
|
|
|
Subject: [PATCH 2/2] Intellisense fix
|
2023-01-21 15:16:12 -08:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
Eigen/src/Core/util/Macros.h | 10 ++++++++++
|
|
|
|
|
1 file changed, 10 insertions(+)
|
|
|
|
|
|
|
|
|
|
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h
|
2023-12-03 16:18:19 -08:00
|
|
|
index 5d054e67c4355a549b1351f1ecc5e49a96e91ace..fda6ad91eedacc9958a5a0bc34db33d8b4e57cd6 100644
|
2023-01-21 15:16:12 -08:00
|
|
|
--- a/Eigen/src/Core/util/Macros.h
|
|
|
|
|
+++ b/Eigen/src/Core/util/Macros.h
|
2023-12-03 16:18:19 -08:00
|
|
|
@@ -60,6 +60,16 @@
|
2023-01-21 15:16:12 -08:00
|
|
|
// Compiler identification, EIGEN_COMP_*
|
|
|
|
|
//------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
+/// \internal Disable NEON features in Intellisense
|
|
|
|
|
+#if __INTELLISENSE__
|
|
|
|
|
+#ifdef __ARM_NEON
|
|
|
|
|
+#undef __ARM_NEON
|
|
|
|
|
+#endif
|
|
|
|
|
+#ifdef __ARM_NEON__
|
|
|
|
|
+#undef __ARM_NEON__
|
|
|
|
|
+#endif
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
2023-12-03 16:18:19 -08:00
|
|
|
/// \internal EIGEN_COMP_GNUC set to version (e.g., 951 for GCC 9.5.1) for all compilers compatible with GCC
|
2023-01-21 15:16:12 -08:00
|
|
|
#ifdef __GNUC__
|
2023-12-03 16:18:19 -08:00
|
|
|
#define EIGEN_COMP_GNUC (__GNUC__ * 100 + __GNUC_MINOR__ * 10 + __GNUC_PATCHLEVEL__)
|