diff --git a/cc/config/clang.go b/cc/config/clang.go index 35dd10f2c..71c7626d9 100644 --- a/cc/config/clang.go +++ b/cc/config/clang.go @@ -142,6 +142,9 @@ func init() { // Nested and array designated initialization is nice to have. "-Wno-c99-designator", + // Warnings from clang-12 + "-Wno-gnu-folding-constant", + // Calls to the APIs that are newer than the min sdk version of the caller should be // guarded with __builtin_available. "-Wunguarded-availability",