bmatsuo / lmdb-go

Bindings for the LMDB C library
BSD 3-Clause "New" or "Revised" License
156 stars 59 forks source link

Mender warning in compilation and build stops with error #135

Open elliotmtx opened 3 years ago

elliotmtx commented 3 years ago

I am facing below warning and build stops, kindly check and help. On same machine my colleagues able to build without any errors,

DEBUG: Executing shell function do_compile_ptest_base

github.com/mendersoftware/mender/vendor/github.com/bmatsuo/lmdb-go/lmdb

mdb.c: In function 'mdb_cursor_put': mdb.c:6535:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if (SIZELEFT(fp) < offset) { ^ mdb.c:6540:5: note: here case MDB_CURRENT: ^~~~