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

Issue 9574043: code review 9574043: cgo: do not output empty struct (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by brainman
Modified:
10 years, 11 months ago
Reviewers:
iant
CC:
golang-dev, iant
Visibility:
Public.

Description

cmd/cgo: do not output empty struct for -cdefs

Patch Set 1 #

Patch Set 2 : diff -r 2d4825868d95 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 2d4825868d95 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r a1fb1560e22e https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r e9e3359d9c84 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M src/cmd/cgo/godefs.go View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 14
brainman
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
10 years, 11 months ago (2013-05-20 07:37:34 UTC) #1
iant
What empty struct is avoided in the regenerated output files?
10 years, 11 months ago (2013-05-22 18:26:36 UTC) #2
brainman
These are the diffs for defs_windows_386.h (and defs_windows_amd64.h) files generated with current cgo command and ...
10 years, 11 months ago (2013-05-23 02:42:50 UTC) #3
iant
Are the empty structs a problem?
10 years, 11 months ago (2013-05-23 04:40:47 UTC) #4
brainman
On 2013/05/23 04:40:47, iant wrote: > Are the empty structs a problem? Yes. These fail ...
10 years, 11 months ago (2013-05-23 04:41:32 UTC) #5
iant
On 2013/05/23 04:41:32, brainman wrote: > On 2013/05/23 04:40:47, iant wrote: > > Are the ...
10 years, 11 months ago (2013-05-23 04:50:42 UTC) #6
iant
On a separate topic, the changes to the defs files are large and in general ...
10 years, 11 months ago (2013-05-23 04:51:19 UTC) #7
brainman
On 2013/05/23 04:50:42, iant wrote: > > GCC permits empty structs, although I don't think ...
10 years, 11 months ago (2013-05-23 04:55:20 UTC) #8
brainman
On 2013/05/23 04:51:19, iant wrote: > On a separate topic, the changes to the defs ...
10 years, 11 months ago (2013-05-23 04:56:05 UTC) #9
iant
On 2013/05/23 04:56:05, brainman wrote: > On 2013/05/23 04:51:19, iant wrote: > > On a ...
10 years, 11 months ago (2013-05-23 04:58:43 UTC) #10
brainman
Hello golang-dev@googlegroups.com, iant@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 11 months ago (2013-05-23 07:06:31 UTC) #11
brainman
On 2013/05/23 04:51:19, iant wrote: > ... Let's separate this CL from the CL that ...
10 years, 11 months ago (2013-05-23 07:07:24 UTC) #12
iant
LGTM Before submitting please change CL description to cmd/cgo: do not output empty struct for ...
10 years, 11 months ago (2013-05-24 20:48:08 UTC) #13
brainman
10 years, 11 months ago (2013-05-25 10:54:04 UTC) #14
*** Submitted as https://code.google.com/p/go/source/detail?r=2a106010f660 ***

cmd/cgo: do not output empty struct for -cdefs

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/9574043
Sign in to reply to this message.

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