James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame] | 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| 2 | From: Peter Johnson <johnson.peter@gmail.com> |
| 3 | Date: Fri, 20 Jan 2023 23:41:56 -0800 |
Maxwell Henderson | 80bec32 | 2024-01-09 15:48:44 -0800 | [diff] [blame^] | 4 | Subject: [PATCH 2/2] Intellisense fix |
James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame] | 5 | |
| 6 | --- |
| 7 | Eigen/src/Core/util/Macros.h | 10 ++++++++++ |
| 8 | 1 file changed, 10 insertions(+) |
| 9 | |
| 10 | diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h |
Maxwell Henderson | 80bec32 | 2024-01-09 15:48:44 -0800 | [diff] [blame^] | 11 | index 5d054e67c4355a549b1351f1ecc5e49a96e91ace..fda6ad91eedacc9958a5a0bc34db33d8b4e57cd6 100644 |
James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame] | 12 | --- a/Eigen/src/Core/util/Macros.h |
| 13 | +++ b/Eigen/src/Core/util/Macros.h |
Maxwell Henderson | 80bec32 | 2024-01-09 15:48:44 -0800 | [diff] [blame^] | 14 | @@ -60,6 +60,16 @@ |
James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame] | 15 | // Compiler identification, EIGEN_COMP_* |
| 16 | //------------------------------------------------------------------------------------------ |
| 17 | |
| 18 | +/// \internal Disable NEON features in Intellisense |
| 19 | +#if __INTELLISENSE__ |
| 20 | +#ifdef __ARM_NEON |
| 21 | +#undef __ARM_NEON |
| 22 | +#endif |
| 23 | +#ifdef __ARM_NEON__ |
| 24 | +#undef __ARM_NEON__ |
| 25 | +#endif |
| 26 | +#endif |
| 27 | + |
Maxwell Henderson | 80bec32 | 2024-01-09 15:48:44 -0800 | [diff] [blame^] | 28 | /// \internal EIGEN_COMP_GNUC set to version (e.g., 951 for GCC 9.5.1) for all compilers compatible with GCC |
James Kuszmaul | b13e13f | 2023-11-22 20:44:04 -0800 | [diff] [blame] | 29 | #ifdef __GNUC__ |
Maxwell Henderson | 80bec32 | 2024-01-09 15:48:44 -0800 | [diff] [blame^] | 30 | #define EIGEN_COMP_GNUC (__GNUC__ * 100 + __GNUC_MINOR__ * 10 + __GNUC_PATCHLEVEL__) |