Skip to content

Commit

Permalink
Add werror flags to nvcc. Closes #4911.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpakkane committed Feb 13, 2019
1 parent 82e4cb7 commit 25ae7f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mesonbuild/compilers/cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ def get_optimization_args(self, optimization_level):
def get_debug_args(self, is_debug):
return cuda_debug_args[is_debug]

def get_werror_args(self):
return ['-Werror']

def get_linker_exelist(self):
return self.exelist[:]

Expand Down

0 comments on commit 25ae7f9

Please sign in to comment.