From 115962e466e66bcc4b4f6a9df512ed9d774ce826 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Mon, 17 Sep 2018 19:02:51 +0200 Subject: Abstract shared GCC/Clang/ICC methods in GnuLikeCompiler --- mesonbuild/compilers/cpp.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mesonbuild/compilers/cpp.py') diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 6220b93..c68c529 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -301,10 +301,6 @@ class IntelCPPCompiler(IntelCompiler, CPPCompiler): def get_option_link_args(self, options): return [] - def has_arguments(self, args, env, code, mode): - # -diag-error 10148 is required to catch invalid -W options - return super().has_arguments(args + ['-diag-error', '10006', '-diag-error', '10148'], env, code, mode) - class VisualStudioCPPCompiler(VisualStudioCCompiler, CPPCompiler): def __init__(self, exelist, version, is_cross, exe_wrap, is_64): -- cgit v1.1