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

"'IOMasterPort' is deprecated" warning when making project1 #437

Closed
Moonm3n opened this issue Jan 4, 2023 · 0 comments · Fixed by #438
Closed

"'IOMasterPort' is deprecated" warning when making project1 #437

Moonm3n opened this issue Jan 4, 2023 · 0 comments · Fixed by #438

Comments

@Moonm3n
Copy link
Contributor

Moonm3n commented Jan 4, 2023

Environment:
OS: macOS 12.4 (21F79)
Go: go1.16.9 darwin/amd64

Description:
There is a deprecation messages while making project1.

# github.com/shirou/gopsutil/disk
iostat_darwin.c:28:2: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:132:1: note: 'IOMasterPort' has been explicitly marked deprecated here
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

Successfully merging a pull request may close this issue.

1 participant