From a42e0a0eca68d49798b46fbc6787eb7cfc6acb13 Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Tue, 6 Feb 2018 14:49:42 -0800 Subject: [PATCH] Silence warnings rather than keeping them in the logs. We can simply revert this patch to work on these warnings independently. Bug: http://b/72331526 Bug: http://b/72331524 Bug: http://b/72330874 Test: Build Change-Id: I9cec51578a1c6de33fb6f832c758b9916c61b735 --- cc/config/clang.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cc/config/clang.go b/cc/config/clang.go index 004840ad4..a33db01e4 100644 --- a/cc/config/clang.go +++ b/cc/config/clang.go @@ -151,16 +151,16 @@ func init() { // http://b/72331526 Disable -Wtautological-* until the instances detected by these // new warnings are fixed. - "-Wno-error=tautological-constant-compare", + "-Wno-tautological-constant-compare", // http://b/72331524 Allow null pointer arithmetic until the instances detected by // this new warning are fixed. - "-Wno-error=null-pointer-arithmetic", + "-Wno-null-pointer-arithmetic", // http://b/72330874 Disable -Wenum-compare until the instances detected by this new // warning are fixed. - "-Wno-error=enum-compare", - "-Wno-error=enum-compare-switch", + "-Wno-enum-compare", + "-Wno-enum-compare-switch", }, " ")) }