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/compilers.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/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 3d4cce8..7955f3d 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -21,7 +21,7 @@ from .. import coredata from .. import mlog from .. import mesonlib from ..mesonlib import ( - EnvironmentException, MachineChoice, MesonException, OrderedSet, + EnvironmentException, MesonException, OrderedSet, version_compare, Popen_safe ) @@ -1636,7 +1636,8 @@ class PGICompiler: self.compiler_type = compiler_type default_warn_args = ['-Minform=inform'] - self.warn_args = {'1': default_warn_args, + self.warn_args = {'0': [], + '1': default_warn_args, '2': default_warn_args, '3': default_warn_args} @@ -1937,7 +1938,8 @@ class ArmCompiler: self.id = 'arm' self.compiler_type = compiler_type default_warn_args = [] - self.warn_args = {'1': default_warn_args, + self.warn_args = {'0': [], + '1': default_warn_args, '2': default_warn_args + [], '3': default_warn_args + []} # Assembly @@ -2029,7 +2031,8 @@ class CcrxCompiler: # Assembly self.can_compile_suffixes.update('s') default_warn_args = [] - self.warn_args = {'1': default_warn_args, + self.warn_args = {'0': [], + '1': default_warn_args, '2': default_warn_args + [], '3': default_warn_args + []} |