commit | 9a2879e07a66495dc155570737f3cd05605b5967 | [log] [tgz] |
---|---|---|
author | Shai Barack <shayba@google.com> | Fri Nov 05 17:13:13 2021 +0000 |
committer | Shai Barack <shayba@google.com> | Fri Nov 05 18:25:51 2021 +0000 |
tree | 8336bb132c06248193faa0a3fe395a4f3ff1c5fb | |
parent | a13711b370398420456448626b6bd8dfe943c238 [diff] [blame] |
[cflags] Suppress -Wextra-semi, -Wstrict-prototypes The code doesn't build with these warnings. Some downstream projects enforce these warnings as errors. Change-Id: Ic5d4d9e4f2c53cf18dd44604cc4b5d225bf2dc90
diff --git a/BUILD.gn b/BUILD.gn index 7a100bb..679b60c 100644 --- a/BUILD.gn +++ b/BUILD.gn
@@ -119,7 +119,10 @@ "PAGE_SIZE=4096", ] + cflags = [ "-Wextra-semi" ] + cflags_c = [ + "-Wstrict-prototypes", "-Wno-missing-field-initializers", "-Wno-newline-eof", "-Wno-unused-function",