commit | 7436834a05778eeda04be268d6f119a0a4d05adc | [log] [tgz] |
---|---|---|
author | Zijun <zijunzhao@google.com> | Tue Nov 26 07:58:35 2024 +0000 |
committer | Zijun Zhao <zijunzhao@google.com> | Tue Nov 26 08:00:50 2024 +0000 |
tree | 24f82f9f38a2ed2d49699a3e971794c02c270148 | |
parent | 5cb0cf40bc416108ee635daf45473612415fcde5 [diff] |
Adding "-Werror=dangling" on Android builds Bug: b/359225100 Test: m Change-Id: Id7378ba208621896aab4eb0a634b0a38f35a462d
diff --git a/cc/config/global.go b/cc/config/global.go index 27aac95..dcc7719 100644 --- a/cc/config/global.go +++ b/cc/config/global.go
@@ -238,6 +238,7 @@ // opting into the warning. noOverrideGlobalCflags = []string{ "-Werror=bool-operation", + "-Werror=dangling", "-Werror=format-insufficient-args", "-Werror=implicit-int-float-conversion", "-Werror=int-in-bool-context",