From 309190cf02366fa7ad3d442f51d2dec91bba3ab9 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Tue, 13 Sep 2016 12:42:13 -0700 Subject: Suppress message 1222 when compiling with nvcc: this ensures that we don't warnings about unknown warning messages when compiling with older versions of nvcc --- Eigen/src/Core/util/DisableStupidWarnings.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Eigen/src/Core/util/DisableStupidWarnings.h b/Eigen/src/Core/util/DisableStupidWarnings.h index dd44c7cbc..23f16ba83 100755 --- a/Eigen/src/Core/util/DisableStupidWarnings.h +++ b/Eigen/src/Core/util/DisableStupidWarnings.h @@ -57,6 +57,7 @@ // 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 (yes, there are 4 of them) + #pragma diag_suppress 1222 #pragma diag_suppress 2651 #pragma diag_suppress 2653 #pragma diag_suppress 2668 -- cgit v1.2.3