disable nvcc boolean-expr-is-constant warning

This commit is contained in:
Gael Guennebaud 2017-07-17 10:43:18 +02:00
parent bbd97b4095
commit 9f8136ff74

View File

@ -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