From a480de1cb55c9efa88a9a520d0d776743b4e5664 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 10 Oct 2018 13:36:23 -0700 Subject: [PATCH] compilers: ICC should error when an unknown __attribute__ is tested --- mesonbuild/compilers/compilers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 755bd4640..3d53f27e8 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1789,6 +1789,7 @@ class IntelCompiler(GnuLikeCompiler): extra_args, '-diag-error', '10006', # ignoring unknown option '-diag-error', '10148', # Option not supported + '-diag-error', '1292', # unknown __attribute__ ] return super().compiles(*args, **kwargs)