From 344c9536b94f0f32b67bff9ac96e0d1247fe282d Mon Sep 17 00:00:00 2001 From: iarspider Date: Thu, 20 Jun 2024 11:56:28 +0200 Subject: [PATCH] Supress CUDA warning about "module" keyword See https://github.com/cms-sw/cmssw/pull/45252#issuecomment-2179407272 --- cuda-flags.file | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cuda-flags.file b/cuda-flags.file index 9c460373486..c96d0a8ad35 100644 --- a/cuda-flags.file +++ b/cuda-flags.file @@ -31,7 +31,8 @@ # various cuda diag-suppress flags e.g. # 3012: suppress volatile destination type for a compound assignment expression is deprecated -%define nvcc_flags_cuda_diag_suppress -diag-suppress=3012 +# 3189: suppress "module" is parsed as an identifier rather than a keyword because the tokens that follow it do not match those of a preprocessor directive +%define nvcc_flags_cuda_diag_suppress -diag-suppress=3012 -diag-suppress=3189 # disable warnings about attributes on defaulted methods %define nvcc_flags_cudafe_diag -Xcudafe --diag_suppress=esa_on_defaulted_function_ignored