-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/cgo: Wrong types in compiler errors with clang 14 #53013
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
Comments
Change https://go.dev/cl/407514 mentions this issue: |
CC @golang/runtime, maybe @thanm? |
Change https://go.dev/cl/454415 mentions this issue: |
@gopherbot please backport to 1.18. |
Backport issue(s) opened: #57028 (for 1.18). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases. |
Fixes #57028 Updates #53013 Change-Id: I169d4eb2420a6da52cc9abe17da98c3092a91be6 Reviewed-on: https://go-review.googlesource.com/c/go/+/407514 Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> (cherry picked from commit 2cfbef4) Reviewed-on: https://go-review.googlesource.com/c/go/+/454415 Reviewed-by: Dmitri Shuralyov <[email protected]> Run-TryBot: Heschi Kreinick <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
When compiling this code on FreeBSD 14-CURRENT with clang 14, go emits error messages with invalid types:
cgo tests also currently are failing:
The above was tested with
This issue seems to be similar to #13129 and #13635, CL incoming shortly.
The text was updated successfully, but these errors were encountered: