Skip to content

compile failures #2

@kevinburke

Description

@kevinburke

Using Go 1.11 beta 1, I get the following errors:

# github.com/xanzy/ssh-agent
-: Pointer redeclared in this block
./pageant_windows.go:6:62: 	other declaration of Pointer
./pageant_windows.go:144:43: cannot convert nameP (variable of type *uint16) to syscall.Pointer
./pageant_windows.go:144:68: cannot convert nameP (variable of type *uint16) to syscall.Pointer
./pageant_windows.go:113:46: cannot convert ptr (variable of type uintptr) to syscall.Pointer
./pageant_windows.go:122:19: cannot convert &(mapNameBytesZ[0]) (value of type *byte) to syscall.Pointer
./pageant_windows.go:125:69: cannot convert &cds (value of type *copyData) to syscall.Pointer
./pageant_windows.go:33:2: "unsafe" imported but not used

I have a Mac and built by running:

GOOS=windows go test ./...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions