Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10)

Issue 102080043: code review 102080043: cmd/cgo: use same Go type for typedef to anonymous struct (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 10 months ago by iant
Modified:
9 years, 10 months ago
Reviewers:
gobot, rsc
CC:
rsc, golang-codereviews
Visibility:
Public.

Description

cmd/cgo: use same Go type for typedef to anonymous struct If we see a typedef to an anonymous struct more than once, presumably in two different Go files that import "C", use the same Go type name. Fixes issue 8133.

Patch Set 1 #

Patch Set 2 : diff -r 603f6c3b152c https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -1 line) Patch
A misc/cgo/test/issue8331.h View 1 chunk +7 lines, -0 lines 0 comments Download
A misc/cgo/test/issue8331a.go View 1 chunk +15 lines, -0 lines 0 comments Download
A misc/cgo/test/issue8331b.go View 1 chunk +13 lines, -0 lines 0 comments Download
M src/cmd/cgo/gcc.go View 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 5
iant
Hello rsc (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
9 years, 10 months ago (2014-06-02 17:56:23 UTC) #1
rsc
LGTM
9 years, 10 months ago (2014-06-02 19:20:59 UTC) #2
iant
*** Submitted as https://code.google.com/p/go/source/detail?r=256d975c53cb *** cmd/cgo: use same Go type for typedef to anonymous struct ...
9 years, 10 months ago (2014-06-02 19:55:48 UTC) #3
gobot
This CL appears to have broken the linux-386 builder. See http://build.golang.org/log/785699884c069d24024523b57771b5bd03f8edef
9 years, 10 months ago (2014-06-02 19:58:58 UTC) #4
iant
9 years, 10 months ago (2014-06-02 20:08:02 UTC) #5
On Mon, Jun 2, 2014 at 12:58 PM,  <gobot@golang.org> wrote:
> This CL appears to have broken the linux-386 builder.
> See http://build.golang.org/log/785699884c069d24024523b57771b5bd03f8edef
>
> https://codereview.appspot.com/102080043/

Does not look related.

FAIL: TestDialTimeoutFDLeak (0.53 seconds)
dial_test.go:294: 149 good connects; expected at most 148
...
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b