Skip to content

Go admin bindings fail to build #221

@cactorium

Description

@cactorium

Testing by checking out releases/1.5, releases/1.6, releases/1.7 and running go build from rescrv/HyperDex/bindings/go, I always get some error. For 1.5:

# github.com/rescrv/HyperDex/bindings/go/client
could not determine kind of name for C.hyperdex_client_document_atomic_add
# github.com/rescrv/HyperDex/bindings/go
./hypergo.go:95: undefined: req in req.status
./hypergo.go:97: undefined: req in req.success
./hypergo.go:98: undefined: req in req.success
./hypergo.go:101: undefined: req in req.failure
./hypergo.go:102: undefined: req in req.failure
./hypergo.go:102: undefined: req in req.status
./hypergo.go:106: undefined: req in req.failure
./hypergo.go:107: undefined: req in req.failure
./hypergo.go:110: undefined: i
./hypergo.go:110: too many errors

Is there some flaw in how I'm building it? Didn't inspect 1.5 too well, but for 1.6 and 1.7 it looks like there's some form of for or while loop missing. I'll try to write a pull request to fix this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions