-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime/cgo: does not build with -Wdeclaration-after-statement #71961
Comments
@gopherbot Please open backport issues. This breaks the SWIG CI build. |
Backport issue(s) opened: #71962 (for 1.23), #71963 (for 1.24). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases. |
Change https://go.dev/cl/652181 mentions this issue: |
Change https://go.dev/cl/652936 mentions this issue: |
Change https://go.dev/cl/652935 mentions this issue: |
…after-statement It's used by the SWIG CI build, at least, and it's an easy fix. [The change in x_cgo_sys_thread_create is gone, as that function was already compliant in 1.23.] Fixes #71962 For #71961 Change-Id: Id21071a5aef216b35ecf0e9cd3e05d08972d92fe Reviewed-on: https://go-review.googlesource.com/c/go/+/652181 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Michael Pratt <mpratt@google.com> (cherry picked from commit 76c7028) Reviewed-on: https://go-review.googlesource.com/c/go/+/652935 Reviewed-by: Michael Knyszek <mknyszek@google.com>
…after-statement It's used by the SWIG CI build, at least, and it's an easy fix. Fixes #71963 For #71961 Change-Id: Id21071a5aef216b35ecf0e9cd3e05d08972d92fe Reviewed-on: https://go-review.googlesource.com/c/go/+/652181 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Michael Pratt <mpratt@google.com> (cherry picked from commit 76c7028) Reviewed-on: https://go-review.googlesource.com/c/go/+/652936 Reviewed-by: Michael Knyszek <mknyszek@google.com>
Change https://go.dev/cl/653135 mentions this issue: |
Change https://go.dev/cl/653136 mentions this issue: |
Change https://go.dev/cl/653137 mentions this issue: |
CL 652181 accidentally missed this iPhone only code. For #71961 Change-Id: I567f8bb38958907442e69494da330d5199d11f54 Reviewed-on: https://go-review.googlesource.com/c/go/+/653135 Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Commit-Queue: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com>
…after-statement CL 652181 accidentally missed this iPhone only code. For #71961 For #71962 Change-Id: I567f8bb38958907442e69494da330d5199d11f54 Reviewed-on: https://go-review.googlesource.com/c/go/+/653136 Reviewed-by: Michael Pratt <mpratt@google.com> Commit-Queue: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
…after-statement CL 652181 accidentally missed this iPhone only code. For #71961 For #71963 Change-Id: I567f8bb38958907442e69494da330d5199d11f54 Reviewed-on: https://go-review.googlesource.com/c/go/+/653137 Commit-Queue: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Go version
HEAD
Output of
go env
in your module/workspace:What did you do?
CGO_CFLAGS=-Wdeclaration-after-statement go build runtime/cgo
What did you see happen?
What did you expect to see?
I did not expect to see any errors.
The text was updated successfully, but these errors were encountered: