winfsp / cgofuse

Cross-platform FUSE library for Go - Works on Windows, macOS, Linux, FreeBSD, NetBSD, OpenBSD
https://winfsp.dev
MIT License
511 stars 82 forks source link

warning: "FUSE_USE_VERSION" redefined #67

Open srwarner opened 2 years ago

srwarner commented 2 years ago

I'm building in GoLand at the moment, though oddly this message started to appear. Any restrictions on the versions one can use for Go, or Fuse?

...

fuse/focal,now 2.9.9-3 amd64 [installed] libfuse-dev/focal,now 2.9.9-3 amd64 [installed] libfuse2/focal,now 2.9.9-3 amd64 [installed,automatic] VERSION="20.04.4 LTS (Focal Fossa)" VERSION_ID="20.04" VERSION_CODENAME=focal go version go1.13.8 linux/amd64

... goLand's go version go version go1.18.1 linux/amd64

billziss-gh commented 2 years ago

Currently cgofuse requires Go 1.17 or later. It defines FUSE_USE_VERSION as required by libfuse. I do not know why the redefinition warning would appear and I have not seen it.