-
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
cmd/cgo: can't access C.Stdout if stdout is a macro #10715
Labels
Milestone
Comments
4ad
added a commit
that referenced
this issue
May 6, 2015
Solaris, like Windows, NetBSD and OpenBSD, uses macros for stdin, stdout, and stderr. Cgo can't access them without getters/setters written in C. Because of this we disable affected tests like for the other platforms. Updates #10715. Change-Id: I3d33a5554b5ba209273dbdff992925a38a281b42 Reviewed-on: https://go-review.googlesource.com/8264 Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
tsudoko
added a commit
to tsudoko/go.tesseract
that referenced
this issue
Aug 14, 2016
CL https://golang.org/cl/43970 mentions this issue. |
There's a CL for this but it's unfinished (still marked DO NOT REVIEW) and we're deep in the freeze, so moving this to the go1.10 milestone. |
Change https://golang.org/cl/86475 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
Jan 10, 2018
https://golang.org/cl/43970 changed writeOutputFunc to support niladic function-like macros; apply the corresponding change to writeGccgoOutputFunc. Updates #10715 Updates #18720 Change-Id: I5decb1d37ec71507466ade2eeda4b89c8785eaef Reviewed-on: https://go-review.googlesource.com/86475 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Hiroshi Ioka <hirochachacha@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
This affects Windows, NetBSD, OpenBSD and Solaris. Ian suggested cgo should detect this special case and make it work.
The text was updated successfully, but these errors were encountered: