commit | 9df9dd4d13871803a2f3858792ef17ae2da22cab | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Feb 03 19:03:49 2022 -0800 |
committer | Chih-Hung Hsieh <chh@google.com> | Fri Feb 04 00:30:20 2022 -0800 |
tree | bd7a845b3178bbfaad6b2b39b2ef562caedd6ad1 | |
parent | 99a81c8dfd64b10b58bfa6b7ed9bf5597e4489b0 [diff] |
Disable gnu-designator warnings. Bug: 217613071 Test: make Change-Id: I51a6afdf6d4b1549d2e3b65168c3cce52d8e197d
diff --git a/cc/config/global.go b/cc/config/global.go index 5acc7f5..cf39d3c 100644 --- a/cc/config/global.go +++ b/cc/config/global.go
@@ -95,6 +95,9 @@ // Nested and array designated initialization is nice to have. "-Wno-c99-designator", + // Many old files still have GNU designator syntax. + "-Wno-gnu-designator", + // Warnings from clang-12 "-Wno-gnu-folding-constant",