aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-12-13 10:22:40 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2018-12-16 16:42:25 +0200
commitb335ca2818b3cdb770bb69df25ae527d7ae8e7d3 (patch)
treee83f150134faed63a4383ad58a793258ea0c3eac /mesonbuild/compilers/compilers.py
parentc208e81e1a47b54a1efb536e164b06275ddd7cd9 (diff)
downloadmeson-b335ca2818b3cdb770bb69df25ae527d7ae8e7d3.zip
meson-b335ca2818b3cdb770bb69df25ae527d7ae8e7d3.tar.gz
meson-b335ca2818b3cdb770bb69df25ae527d7ae8e7d3.tar.bz2
compilers/icc: Add even more diag-errors to actually error on
This is a classy compiler.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index e27ae2b..5c88c3c 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -1823,6 +1823,10 @@ class IntelCompiler(GnuLikeCompiler):
extra_args,
'-diag-error', '10006', # ignoring unknown option
'-diag-error', '10148', # Option not supported
+ '-diag-error', '10155', # ignoring argument required
+ '-diag-error', '10156', # ignoring not argument allowed
+ '-diag-error', '10157', # Ignoring argument of the wrong type
+ '-diag-error', '10158', # Argument must be separate. Can be hit by trying an option like -foo-bar=foo when -foo=bar is a valid option but -foo-bar isn't
'-diag-error', '1292', # unknown __attribute__
]
return super().compiles(*args, **kwargs)