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

Rename deprecated constant kIOMasterPortDefault #13

Closed

Conversation

amxfonseca
Copy link
Contributor

This constant is now deprecated since macOS 12.0 and a new constant named kIOMainPortDefault is provided.

There is a fallback in place that retains compatibility with older macOS versions.

This removes the warnings when compiling the library on modern systems, and makes sure the library will keep working on future versions of the OS.

https://developer.apple.com/documentation/iokit/kiomasterportdefault
https://developer.apple.com/documentation/iokit/kiomainportdefault

This constant is now deprecated since macOS 12.0 and a new constant
named kIOMainPortDefault is provided.

There is a fallback in place that retains compatibility for older macOS versions.

https://developer.apple.com/documentation/iokit/kiomasterportdefault
@MCUdude
Copy link

MCUdude commented Sep 1, 2023

Good idea! I see you borrowed the implementation from kovidgoyal/kitty#3719

BTW do you know how on earth one can create an account over at Sigrok Bugzilla? There's this bug where the Silabs CP210x USB to serial chip series can't be used with libserialport, which is a real bummer.

@amxfonseca
Copy link
Contributor Author

BTW do you know how on earth one can create an account over at Sigrok Bugzilla?

I can’t seem to find it after a quick look. Maybe you need to contact them on the IRC channel. At lest for the wiki part that seems to be the case. They state if you want to contribute you can request an account on their IRC.

@amxfonseca
Copy link
Contributor Author

Merged 🎉

@amxfonseca amxfonseca closed this Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants