mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-09 22:39:05 +08:00
disable nvcc boolean-expr-is-constant warning
This commit is contained in:
parent
bbd97b4095
commit
9f8136ff74
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user