Merge "Silence warnings rather than keeping them in the logs."

This commit is contained in:
Treehugger Robot 2018-02-07 00:53:40 +00:00 committed by Gerrit Code Review
commit 8646e2ea55

View file

@ -151,16 +151,16 @@ func init() {
// http://b/72331526 Disable -Wtautological-* until the instances detected by these // http://b/72331526 Disable -Wtautological-* until the instances detected by these
// new warnings are fixed. // 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 // http://b/72331524 Allow null pointer arithmetic until the instances detected by
// this new warning are fixed. // 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 // http://b/72330874 Disable -Wenum-compare until the instances detected by this new
// warning are fixed. // warning are fixed.
"-Wno-error=enum-compare", "-Wno-enum-compare",
"-Wno-error=enum-compare-switch", "-Wno-enum-compare-switch",
}, " ")) }, " "))
} }