Merge "adds new warnings to Android build (1/2)"
This commit is contained in:
@@ -53,6 +53,7 @@ var (
|
||||
"-Werror=date-time",
|
||||
"-Werror=pragma-pack",
|
||||
"-Werror=pragma-pack-suspicious-include",
|
||||
"-Werror=string-plus-int",
|
||||
"-Werror=unreachable-code-loop-increment",
|
||||
}
|
||||
|
||||
@@ -116,8 +117,13 @@ var (
|
||||
}
|
||||
|
||||
noOverrideGlobalCflags = []string{
|
||||
"-Werror=bool-operation",
|
||||
"-Werror=implicit-int-float-conversion",
|
||||
"-Werror=int-in-bool-context",
|
||||
"-Werror=int-to-pointer-cast",
|
||||
"-Werror=pointer-to-int-cast",
|
||||
"-Werror=string-compare",
|
||||
"-Werror=xor-used-as-pow",
|
||||
// http://b/161386391 for -Wno-void-pointer-to-enum-cast
|
||||
"-Wno-void-pointer-to-enum-cast",
|
||||
// http://b/161386391 for -Wno-void-pointer-to-int-cast
|
||||
|
Reference in New Issue
Block a user