mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
[wpimath] Workaround intellisense Eigen issue (#4992)
Co-authored-by: Tyler Veness <calcmogul@gmail.com>
This commit is contained in:
@@ -58,6 +58,16 @@
|
||||
// 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
|
||||
|
||||
/// \internal EIGEN_COMP_GNUC set to 1 for all compilers compatible with GCC
|
||||
#ifdef __GNUC__
|
||||
#define EIGEN_COMP_GNUC (__GNUC__*10+__GNUC_MINOR__)
|
||||
|
||||
Reference in New Issue
Block a user