Solve NVCC -Werror problem.

Partially addresses #4961.
pull/4972/head
Olexa Bilaniuk 6 years ago
parent e632a81627
commit 8838cfae73
  1. 2
      mesonbuild/compilers/cuda.py

@ -188,7 +188,7 @@ class CudaCompiler(Compiler):
return cuda_debug_args[is_debug]
def get_werror_args(self):
return ['-Werror']
return ['-Werror=cross-execution-space-call,deprecated-declarations,reorder']
def get_linker_exelist(self):
return self.exelist[:]

Loading…
Cancel
Save