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

Issue 186138: code review 186138: cgo: Only allow numeric / string / character type cons... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 3 months ago by dho
Modified:
14 years, 3 months ago
Reviewers:
CC:
rsc, rsaarelm, golang-dev
Visibility:
Public.

Description

cgo: Only allow numeric / string / character type constants for references to #defined things. Fixes issue 520

Patch Set 1 #

Patch Set 2 : code review 186138: cgo: Only allow numeric / string / character type cons... #

Patch Set 3 : code review 186138: cgo: Only allow numeric / string / character type cons... #

Patch Set 4 : code review 186138: cgo: Only allow numeric / string / character type cons... #

Patch Set 5 : code review 186138: cgo: Only allow numeric / string / character type cons... #

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

Messages

Total messages: 5
dho
Hello rsc, rsaarelm (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 3 months ago (2010-01-13 19:48:58 UTC) #1
rsc
shouldn't be called isInt; not a bool. err is fine.
14 years, 3 months ago (2010-01-13 20:27:40 UTC) #2
dho
Hello rsc, rsaarelm (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 3 months ago (2010-01-14 00:27:21 UTC) #3
rsc
LGTM
14 years, 3 months ago (2010-01-14 00:44:19 UTC) #4
rsc
14 years, 3 months ago (2010-01-14 00:48:16 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=bcbfbe066b58 ***

cgo: Only allow numeric / string / character type constants for references
to #defined things.

Fixes issue 520.

R=rsc, rsaarelm
CC=golang-dev
http://codereview.appspot.com/186138

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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