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

Fails to build with go 1.18 #143

Open
andhe opened this issue Apr 13, 2022 · 0 comments
Open

Fails to build with go 1.18 #143

andhe opened this issue Apr 13, 2022 · 0 comments

Comments

@andhe
Copy link

andhe commented Apr 13, 2022

lmdb-go fails to build when using go 1.18:

src/github.com/bmatsuo/lmdb-go/lmdb/example_test.go:341:6: dbi declared but not used
src/github.com/bmatsuo/lmdb-go/lmdb/example_test.go:668:6: dbi declared but not used
src/github.com/bmatsuo/lmdb-go/lmdb/example_test.go:682:6: dbi declared but not used
src/github.com/bmatsuo/lmdb-go/lmdb/example_test.go:696:6: dbi declared but not used
src/github.com/bmatsuo/lmdb-go/lmdb/example_test.go:709:6: dbi declared but not used
src/github.com/bmatsuo/lmdb-go/lmdb/example_test.go:720:6: dbi declared but not used
src/github.com/bmatsuo/lmdb-go/lmdb/example_test.go:769:6: str declared but not used
src/github.com/bmatsuo/lmdb-go/lmdb/example_test.go:770:10: p2 declared but not used

First reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008395

andhe added a commit to andhe/lmdb-go that referenced this issue Apr 13, 2022
This fixes build with go 1.18.

Fixes: bmatsuo#143
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant