Deprecation warning shown during build
roele opened this issue · 1 comments
roele commented
While building the executable (MacBook M1 Pro, macOS 12.3.1) the following warning is shown.
❯ go build .
# github.com/panotza/gosmc
smc.c:73:5: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:132:1: note: 'IOMasterPort' has been explicitly marked deprecated here