diff options
author | jml1795 <45511331+jml1795@users.noreply.github.com> | 2019-02-18 17:06:27 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-02-19 00:06:27 +0200 |
commit | a9e63568fe4a1ef420cdb8bacb85fbf6d621dc0d (patch) | |
tree | 5b5159756428d3f403fe45d183412331d715b605 /mesonbuild/compilers/cuda.py | |
parent | 2cede4d6c9264f725ab57f48e929c748fa1f1ac8 (diff) | |
download | meson-a9e63568fe4a1ef420cdb8bacb85fbf6d621dc0d.zip meson-a9e63568fe4a1ef420cdb8bacb85fbf6d621dc0d.tar.gz meson-a9e63568fe4a1ef420cdb8bacb85fbf6d621dc0d.tar.bz2 |
Add warning level zero
Diffstat (limited to 'mesonbuild/compilers/cuda.py')
-rw-r--r-- | mesonbuild/compilers/cuda.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cuda.py b/mesonbuild/compilers/cuda.py index 1ea67d3..66dcf33 100644 --- a/mesonbuild/compilers/cuda.py +++ b/mesonbuild/compilers/cuda.py @@ -28,7 +28,8 @@ class CudaCompiler(Compiler): self.exe_wrapper = exe_wrapper self.id = 'nvcc' default_warn_args = [] - self.warn_args = {'1': default_warn_args, + self.warn_args = {'0': [], + '1': default_warn_args, '2': default_warn_args + ['-Xcompiler=-Wextra'], '3': default_warn_args + ['-Xcompiler=-Wextra', '-Xcompiler=-Wpedantic']} |