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

Issue 129160043: code review 129160043: cmd/cgo: check for compiler errors in the C preamble (Closed)

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

Description

cmd/cgo: check for compiler errors in the C preamble E.g., here's the new "go build" output: $ go build misc/cgo/errors/issue8442.go # command-line-arguments could not determine kind of name for C.issue8442foo gcc errors for preamble: misc/cgo/errors/issue8442.go:11:19: error: unknown type name 'UNDEF' Fixes issue 8442.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -3 lines) Patch
A misc/cgo/errors/issue8442.go View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M misc/cgo/errors/test.bash View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/cgo/gcc.go View 1 2 3 4 chunks +12 lines, -3 lines 0 comments Download

Messages

Total messages: 10
mdempsky
Hello iant@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
9 years, 8 months ago (2014-08-14 00:20:07 UTC) #1
mdempsky
First stab at this problem. Couple questions in my mind: 1. Is there a good ...
9 years, 8 months ago (2014-08-14 00:22:53 UTC) #2
iant
I think it is a good idea to check for preamble errors in the !completed ...
9 years, 8 months ago (2014-08-14 01:23:13 UTC) #3
brainman
FYI. I rerun program from the issue. The error message changed from: C:\go\path\mine\src\issue8442>go run a.go ...
9 years, 8 months ago (2014-08-14 05:45:57 UTC) #4
mdempsky
PTAL On 2014/08/14 01:23:13, iant wrote: > I think it is a good idea to ...
9 years, 8 months ago (2014-08-14 06:50:48 UTC) #5
brainman
On 2014/08/14 06:50:48, mdempsky wrote: > > ... My non-Windows-programmer eye thinks the new error ...
9 years, 8 months ago (2014-08-14 06:59:11 UTC) #6
iant
LGTM
9 years, 8 months ago (2014-08-14 16:17:53 UTC) #7
iant
*** Submitted as https://code.google.com/p/go/source/detail?r=3b864e02b987 *** cmd/cgo: check for compiler errors in the C preamble E.g., ...
9 years, 8 months ago (2014-08-14 16:22:05 UTC) #8
gobot
This CL appears to have broken the linux-arm-arm5 builder. See http://build.golang.org/log/b1da630f30c600adef5b1cffe052eef3c4501da7
9 years, 8 months ago (2014-08-15 12:25:12 UTC) #9
dfc
9 years, 8 months ago (2014-08-15 12:26:44 UTC) #10
Sorry, I'm going to take that builder offline to figure out what has happened.

On Fri, Aug 15, 2014 at 10:25 PM,  <gobot@golang.org> wrote:
> This CL appears to have broken the linux-arm-arm5 builder.
> See http://build.golang.org/log/b1da630f30c600adef5b1cffe052eef3c4501da7
>
>
> https://codereview.appspot.com/129160043/
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-codereviews" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-codereviews+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Sign in to reply to this message.

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