compilers: ICC should error when an unknown __attribute__ is tested
@@ -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)
