Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/cgo: wrong line number for compile error #6563
What steps will reproduce the problem? If possible, include a link to a program on play.golang.org. 1. Download and compile http://play.golang.org/p/xvSyfjXl-D 2. 3. What is the expected output? ./xvSyfjXl-D.go:8: cannot use s (type string) as type C.size_t in function argument What do you see instead? ./xvSyfjXl-D.go:7: cannot use s (type string) as type C.size_t in function argument Which compiler are you using (5g, 6g, 8g, gccgo)? 6g Which operating system are you using? Linux Which version are you using? (run 'go version') go version devel +3f38e968e072 Wed Oct 09 13:52:29 2013 -0700 linux/amd64 Please provide any additional information below. The error is reported for the previous line.
This issue was closed.