diff --git a/cc/config/clang.go b/cc/config/clang.go index 53a73066e..3caa68898 100644 --- a/cc/config/clang.go +++ b/cc/config/clang.go @@ -31,23 +31,15 @@ var ClangUnknownCflags = sorted([]string{ "-fno-tree-sra", "-fprefetch-loop-arrays", "-funswitch-loops", - "-Werror=unused-but-set-parameter", - "-Werror=unused-but-set-variable", "-Wmaybe-uninitialized", "-Wno-error=clobbered", "-Wno-error=maybe-uninitialized", - "-Wno-error=unused-but-set-parameter", - "-Wno-error=unused-but-set-variable", "-Wno-extended-offsetof", "-Wno-free-nonheap-object", "-Wno-literal-suffix", "-Wno-maybe-uninitialized", "-Wno-old-style-declaration", - "-Wno-unused-but-set-parameter", - "-Wno-unused-but-set-variable", "-Wno-unused-local-typedefs", - "-Wunused-but-set-parameter", - "-Wunused-but-set-variable", "-fdiagnostics-color", // http://b/153759688 "-fuse-init-array",