diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-07-17 10:43:18 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-07-17 10:43:18 +0200 |
commit | 9f8136ff747088b9a74c89ab0b3d89ac1081e83d (patch) | |
tree | afe97de7cabc9b3115bd184420816f30b774ceb8 /Eigen | |
parent | bbd97b4095ff9cbe9898d68b3ab7bdff8125f3fb (diff) |
disable nvcc boolean-expr-is-constant warning
Diffstat (limited to 'Eigen')
-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 b91d1d1af..8ef0f3594 100755 --- a/Eigen/src/Core/util/DisableStupidWarnings.h +++ b/Eigen/src/Core/util/DisableStupidWarnings.h @@ -55,6 +55,7 @@ #endif #if defined __NVCC__ + #pragma diag_suppress boolean_controlling_expr_is_constant // Disable the "statement is unreachable" message #pragma diag_suppress code_is_unreachable // Disable the "dynamic initialization in unreachable code" message |