You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have go version go1.18.3 darwin/amd64 on Monterey 12.4 and just replicated this repo then ran make. I got the following errors:
golang.org/x/sys/unix
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:28:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:43:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:59:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:75:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:90:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:105:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:121:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:136:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:151:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:166:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:166:3: too many errors
github.com/getlantern/systray
systray_darwin.m:128:22: warning: 'NSOnState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
systray_darwin.m:9:33: note: expanded from macro 'NSControlStateValueOn'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:353:34: note: 'NSOnState' has been explicitly marked deprecated here
systray_darwin.m:130:22: warning: 'NSOffState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
systray_darwin.m:5:34: note: expanded from macro 'NSControlStateValueOff'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:352:34: note: 'NSOffState' has been explicitly marked deprecated here
github.com/robotn/gohook
In file included from ../../../go/pkg/mod/github.com/robotn/gohook@v0.0.0-20190318172628-a7a38946710e/hook.go:22:
In file included from ../../../go/pkg/mod/github.com/robotn/gohook@v0.0.0-20190318172628-a7a38946710e/event/goEvent.h:18:
In file included from ../../../go/pkg/mod/github.com/robotn/gohook@v0.0.0-20190318172628-a7a38946710e/event/pub.h:15:
../../../go/pkg/mod/github.com/robotn/gohook@v0.0.0-20190318172628-a7a38946710e/event/../hook/darwin/hook_c.h:619:25: warning: cast to smaller integer type 'uint16_t' (aka 'unsigned short') from 'CFDataRef' (aka 'const struct __CFData *') [-Wpointer-to-int-cast]
../../../go/pkg/mod/github.com/robotn/gohook@v0.0.0-20190318172628-a7a38946710e/event/../hook/darwin/hook_c.h:620:26: warning: cast to smaller integer type 'uint16_t' (aka 'unsigned short') from 'CFDataRef' (aka 'const struct __CFData *') [-Wpointer-to-int-cast]
make: *** [build] Error 2
The text was updated successfully, but these errors were encountered:
:( Yeah I haven't built this app for a while now, was expecting to break with the latest go versions... Contributions are more than welcome btw! Also there's the pre-built package added to releases if you just want to use the app
I have go version go1.18.3 darwin/amd64 on Monterey 12.4 and just replicated this repo then ran make. I got the following errors:
golang.org/x/sys/unix
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:28:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:43:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:59:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:75:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:90:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:105:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:121:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:136:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:151:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:166:3: //go:linkname must refer to declared function or variable
../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190410170021-cc4d4f50624c/unix/zsyscall_darwin_amd64.go:166:3: too many errors
github.com/getlantern/systray
systray_darwin.m:128:22: warning: 'NSOnState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
systray_darwin.m:9:33: note: expanded from macro 'NSControlStateValueOn'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:353:34: note: 'NSOnState' has been explicitly marked deprecated here
systray_darwin.m:130:22: warning: 'NSOffState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
systray_darwin.m:5:34: note: expanded from macro 'NSControlStateValueOff'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:352:34: note: 'NSOffState' has been explicitly marked deprecated here
github.com/robotn/gohook
In file included from ../../../go/pkg/mod/github.com/robotn/gohook@v0.0.0-20190318172628-a7a38946710e/hook.go:22:
In file included from ../../../go/pkg/mod/github.com/robotn/gohook@v0.0.0-20190318172628-a7a38946710e/event/goEvent.h:18:
In file included from ../../../go/pkg/mod/github.com/robotn/gohook@v0.0.0-20190318172628-a7a38946710e/event/pub.h:15:
../../../go/pkg/mod/github.com/robotn/gohook@v0.0.0-20190318172628-a7a38946710e/event/../hook/darwin/hook_c.h:619:25: warning: cast to smaller integer type 'uint16_t' (aka 'unsigned short') from 'CFDataRef' (aka 'const struct __CFData *') [-Wpointer-to-int-cast]
../../../go/pkg/mod/github.com/robotn/gohook@v0.0.0-20190318172628-a7a38946710e/event/../hook/darwin/hook_c.h:620:26: warning: cast to smaller integer type 'uint16_t' (aka 'unsigned short') from 'CFDataRef' (aka 'const struct __CFData *') [-Wpointer-to-int-cast]
make: *** [build] Error 2
The text was updated successfully, but these errors were encountered: