| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0ad4b7c commit 04798fb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -65,11 +65,17 @@ template("cares_gn_build") { | |||
| 65 | 65 | sources += gypi_values.cares_sources_mac | |
| 66 | 66 | } | |
| 67 | 67 | ||
| 68 | - if (is_clang || !is_win) { | ||
| 69 | - cflags_c = [ | ||
| 70 | - "-Wno-implicit-fallthrough", | ||
| 71 | - "-Wno-unreachable-code", | ||
| 72 | - ] | ||
| 68 | + if (is_clang) { | ||
| 69 | + if (is_win) { | ||
| 70 | + cflags_c = [ | ||
| 71 | + "-Wno-macro-redefined", | ||
| 72 | + ] | ||
| 73 | + } else { | ||
| 74 | + cflags_c = [ | ||
| 75 | + "-Wno-implicit-fallthrough", | ||
| 76 | + "-Wno-unreachable-code", | ||
| 77 | + ] | ||
| 78 | + } | ||
| 73 | 79 | } | |
| 74 | 80 | } | |
| 75 | 81 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments