It still fails to build. Now in net: ... # net pkg\net\sendfile_windows.go:59: cannot use f.Fd() ...
13 years, 3 months ago
(2012-02-10 06:51:25 UTC)
#4
It still fails to build. Now in net:
...
# net
pkg\net\sendfile_windows.go:59: cannot use f.Fd() (type uintptr) as type
syscall.Handle in assignment
...
Alex
On 2012/02/10 06:58:31, bradfitz wrote: > Fixed sendfile_windows.go now. > > Now it builds with: ...
13 years, 3 months ago
(2012-02-10 08:29:18 UTC)
#8
On 2012/02/10 06:58:31, bradfitz wrote:
> Fixed sendfile_windows.go now.
>
> Now it builds with:
>
> $ GOOS=windows go build os syscall net
> $ GOOS=darwin go build os syscall
> (can't test net, because of cgo)
>
All packages build now, but test in os/exec still does not compile:
# os/exec
pkg\os\exec\exec_test.go:157: cannot use fd (type int) as type syscall.Handle in
function argument
FAIL os/exec [build failed]
GOOS=windows go test -c os/exec
will compile it for you.
Alex
*** Submitted as http://code.google.com/p/go/source/detail?r=707cc1968634 *** os,syscall: fix windows build make syscall.ProcAttr.Files be []uintptr all.bash passes ...
13 years, 3 months ago
(2012-02-10 21:47:28 UTC)
#10
Issue 5653055: code review 5653055: os,syscall: fix windows build
(Closed)
Created 13 years, 3 months ago by bradfitz
Modified 13 years, 3 months ago
Reviewers:
Base URL:
Comments: 0