aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-03-05 10:52:08 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-03-05 10:52:08 -0800
commit05bbca079a1c21fe3289d625a99200621606a0f6 (patch)
tree185285c3b601d1c23885489f270800ce4731c111 /Eigen/src
parent6093eb9ff564ded564fb48fdd01288140a9e3be6 (diff)
Turn on some of the cxx11 features when compiling with visual studio 2015
Diffstat (limited to 'Eigen/src')
-rw-r--r--Eigen/src/Core/util/Macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h
index d196123c6..dbfc9bd37 100644
--- a/Eigen/src/Core/util/Macros.h
+++ b/Eigen/src/Core/util/Macros.h
@@ -360,7 +360,7 @@
#endif
// Does the compiler support variadic templates?
-#if __cplusplus > 199711L
+#if __cplusplus > 199711L || EIGEN_COMP_MSVC >= 1900
// Disable the use of variadic templates when compiling with nvcc on ARM devices:
// this prevents nvcc from crashing when compiling Eigen on Tegra X1
#if !defined(__NVCC__) || !EIGEN_ARCH_ARM_OR_ARM64