From 727ff2696087fbd96815c33addc649086d31287c Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Wed, 3 Feb 2016 16:01:37 -0800 Subject: [PATCH] Disable 2 more nvcc warning messages --- Eigen/src/Core/util/DisableStupidWarnings.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Eigen/src/Core/util/DisableStupidWarnings.h b/Eigen/src/Core/util/DisableStupidWarnings.h index 3ed931855..829b23ac8 100755 --- a/Eigen/src/Core/util/DisableStupidWarnings.h +++ b/Eigen/src/Core/util/DisableStupidWarnings.h @@ -47,10 +47,11 @@ #pragma diag_suppress code_is_unreachable // Disable the "dynamic initialization in unreachable code" message #pragma diag_suppress initialization_not_reachable - // Disable the "calling a __host__ function from a __host__ __device__ function is not allowed" messages + // Disable the "calling a __host__ function from a __host__ __device__ function is not allowed" messages (yes, there are 4 of them) #pragma diag_suppress 2651 #pragma diag_suppress 2653 - + #pragma diag_suppress 2668 + #pragma diag_suppress 2670 #endif #endif // not EIGEN_WARNINGS_DISABLED