diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-09-13 12:42:13 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-09-13 12:42:13 -0700 |
commit | 309190cf02366fa7ad3d442f51d2dec91bba3ab9 (patch) | |
tree | d9491b5718590505b30d5ca1fe2f010e7ff236a1 /Eigen/src/Core/util/DisableStupidWarnings.h | |
parent | c10620b2b0f9a82d4069c05f05092ba3aad1c4ca (diff) |
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
Diffstat (limited to 'Eigen/src/Core/util/DisableStupidWarnings.h')
-rwxr-xr-x | Eigen/src/Core/util/DisableStupidWarnings.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |