Merge "Move -Wno-null-pointer-arithmetic to external only"
am: df76efe524
Change-Id: I71ba1b6dbd242eaf7614750076b565419ca8dae6
This commit is contained in:
@@ -167,10 +167,6 @@ func init() {
|
|||||||
"-Wno-tautological-unsigned-enum-zero-compare",
|
"-Wno-tautological-unsigned-enum-zero-compare",
|
||||||
"-Wno-tautological-unsigned-zero-compare",
|
"-Wno-tautological-unsigned-zero-compare",
|
||||||
|
|
||||||
// http://b/72331524 Allow null pointer arithmetic until the instances detected by
|
|
||||||
// this new warning are fixed.
|
|
||||||
"-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-enum-compare",
|
"-Wno-enum-compare",
|
||||||
@@ -187,6 +183,10 @@ func init() {
|
|||||||
// Extra cflags for projects under external/ directory
|
// Extra cflags for projects under external/ directory
|
||||||
pctx.StaticVariable("ClangExtraExternalCflags", strings.Join([]string{
|
pctx.StaticVariable("ClangExtraExternalCflags", strings.Join([]string{
|
||||||
// TODO(yikong): Move -Wno flags here
|
// TODO(yikong): Move -Wno flags here
|
||||||
|
|
||||||
|
// http://b/72331524 Allow null pointer arithmetic until the instances detected by
|
||||||
|
// this new warning are fixed.
|
||||||
|
"-Wno-null-pointer-arithmetic",
|
||||||
}, " "))
|
}, " "))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user