aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/DisableStupidWarnings.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-02-03 16:01:37 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-02-03 16:01:37 -0800
commit727ff2696087fbd96815c33addc649086d31287c (patch)
tree3ac7965cabaa36932c3454c82d81bb44edf80ccd /Eigen/src/Core/util/DisableStupidWarnings.h
parent1cbb79cdfd4a43faf43f4095df456731d98961c0 (diff)
Disable 2 more nvcc warning messages
Diffstat (limited to 'Eigen/src/Core/util/DisableStupidWarnings.h')
-rwxr-xr-xEigen/src/Core/util/DisableStupidWarnings.h5
1 files 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