This patch enables cgo utility to correctly convert enums in the C source into consts in the resulting Go source. Previously known as issue 161047, which I deleted accidentally. Fixes issue 207.
http://codereview.appspot.com/166059/diff/3014/4008 File src/cmd/cgo/gcc.go (right): http://codereview.appspot.com/166059/diff/3014/4008#newcode134 src/cmd/cgo/gcc.go:134: default: Sorry, I meant to delete the "default:" case ...
15 years, 10 months ago (2009-12-14 04:03:25 UTC) #4
LGTM Thanks. You should probably cd $GOROOT hg revert src/cmd/cgo before running hg sync We ...
15 years, 10 months ago (2009-12-16 05:19:06 UTC) #6
LGTM Thanks. You should probably cd $GOROOT hg revert src/cmd/cgo before running hg sync We stripped the semicolons today in gofmt, so the patch I apply won't match your client; the revert will avoid a merge conflict.
Issue 166059: code review 166059: This patch enables cgo utility to correctly convert enu... Created 15 years, 10 months ago by mozo Modified 1 year, 11 months ago Reviewers: Base URL: Comments: 2