Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to compile #8

Closed
GoogleCodeExporter opened this issue Feb 15, 2016 · 3 comments
Closed

failed to compile #8

GoogleCodeExporter opened this issue Feb 15, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. goinstall go-tour.googlecode.com/hg/gotour
2. compile failed.

What do you see instead?
6g -I "/opt/go/pkg/linux_amd64" -I "/opt/go/pkg/linux_amd64"  -p 
go-tour.googlecode.com/hg/pic -o _go_.6 pic.go 
pic.go:21: cannot use dx (type int) as type image.Rectangle in function argument
pic.go:21: too many arguments in call to image.NewNRGBA
make: *** [_go_.6] Error 1
--- exit status 2
goinstall: go-tour.googlecode.com/hg/pic: install: running bash: exit status 2

What version of the product are you using? On what operating system?
go from hg on archlinux




Original issue reported on code.google.com by adria.ka...@gmail.com on 5 Oct 2011 at 8:07

@GoogleCodeExporter
Copy link
Author

I can confirm this on 32bit/ubuntu, running go at rev "weekly.2011-09-21"

/bin/bash: === cd 
/scratch/scratch/schilly/golang/src/pkg/go-tour.googlecode.com/hg/pic; bash 
gomake -f- install
8g -I "/scratch/scratch/schilly/golang/pkg/linux_386"  -p 
go-tour.googlecode.com/hg/pic -o _go_.8 pic.go 
pic.go:21: cannot use dx (type int) as type image.Rectangle in function argument
pic.go:21: too many arguments in call to image.NewNRGBA
make: *** [_go_.8] Error 1
--- exit status 2
goinstall: go-tour.googlecode.com/hg/pic: install: running bash: exit status 2 
($GOPATH not set)

Original comment by harald.schilly on 5 Oct 2011 at 12:36

@GoogleCodeExporter
Copy link
Author

You must be using the latest stable release of Go, `release.r60.1`.

Original comment by a...@golang.org on 5 Oct 2011 at 5:20

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

Issue 18 has been merged into this issue.

Original comment by a...@golang.org on 13 Nov 2011 at 8:12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant