Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master

This commit is contained in:
Xin Li
2019-02-23 00:39:18 +00:00
committed by Android (Google) Code Review

View File

@@ -97,8 +97,9 @@ func init() {
pctx.StaticVariable("ClangExtraCflags", strings.Join([]string{
"-D__compiler_offsetof=__builtin_offsetof",
// -Wimplicit-fallthrough is not enabled by -Wall.
// Make implicit fallthrough an error in the future.
"-Wimplicit-fallthrough",
"-Wno-error=implicit-fallthrough",
// Help catch common 32/64-bit errors.
"-Werror=int-conversion",