Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bb78904

Browse filesBrowse files
codebytereRafaelGSS
authored andcommitted
build: fix GN build for sqlite and nghttp2
PR-URL: #55529 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Cheng Zhao <zcbenz@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 649d767 commit bb78904
Copy full SHA for bb78904

File tree

Expand file treeCollapse file tree

2 files changed

+10
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+10
-1
lines changed
Open diff view settings
Collapse file

‎deps/nghttp2/unofficial.gni‎

Copy file name to clipboardExpand all lines: deps/nghttp2/unofficial.gni
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ template("nghttp2_gn_build") {
3434
if (is_clang || !is_win) {
3535
cflags_c = [
3636
"-Wno-implicit-fallthrough",
37+
# Ref https://github.com/nghttp2/nghttp2/pull/2258
38+
# This can be removed when the above PR is ingested.
39+
"-Wno-extra-semi",
3740
]
3841
}
3942
}
Collapse file

‎deps/sqlite/unofficial.gni‎

Copy file name to clipboardExpand all lines: deps/sqlite/unofficial.gni
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,14 @@ template("sqlite_gn_build") {
1818
forward_variables_from(invoker, "*")
1919
public_configs = [ ":sqlite_config" ]
2020
sources = gypi_values.sqlite_sources
21+
cflags_c = [
22+
"-Wno-implicit-fallthrough",
23+
"-Wno-unreachable-code-return",
24+
"-Wno-unreachable-code-break",
25+
"-Wno-unreachable-code",
26+
]
2127
if (is_win) {
22-
cflags_c = [
28+
cflags_c += [
2329
"-Wno-sign-compare",
2430
"-Wno-unused-but-set-variable",
2531
"-Wno-unused-function",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.