Add werror flags to nvcc. Closes #4911.

pull/4922/head
Jussi Pakkanen 6 years ago
parent 82e4cb7731
commit 25ae7f95bd
  1. 3
      mesonbuild/compilers/cuda.py

@ -157,6 +157,9 @@ __global__ void kernel (void) {
def get_debug_args(self, is_debug): def get_debug_args(self, is_debug):
return cuda_debug_args[is_debug] return cuda_debug_args[is_debug]
def get_werror_args(self):
return ['-Werror']
def get_linker_exelist(self): def get_linker_exelist(self):
return self.exelist[:] return self.exelist[:]

Loading…
Cancel
Save