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

Compile warning: compile on ventura warns that 'FSEventStreamScheduleWithRunLoop' is deprecated #59

Closed
AdamSharon opened this issue Mar 16, 2023 · 2 comments

Comments

@AdamSharon
Copy link

Which version of macOS are you using?

ProductName: macOS
ProductVersion: 13.2.1
BuildVersion: 22D68

Please describe the issue that occurred.

Compilation throws a warning:

# github.com/fsnotify/fsevents
cgo-gcc-prolog:452:2: warning: 'FSEventStreamScheduleWithRunLoop' is deprecated: first deprecated in macOS 13.0 - Use FSEventStreamSetDispatchQueue instead. [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:1138:1: note: 'FSEventStreamScheduleWithRunLoop' has been explicitly marked deprecated here

There is no functionality problem right now, as far as I see. I hope it does not mean a future update to MacOS will break it.

Are you able to reproduce the issue? Please provide steps to reproduce and a code sample if possible.

Yes, on a machine that runs Ventura (13.0 and up) any compilation of a project that contains fsevents v0.1.1 will throw the warning.

@arp242
Copy link
Member

arp242 commented Aug 4, 2023

This library is essentially unmaintained (I'm not maintaining it, anyway). If you want a fix you'll have to send a patch.

@arp242
Copy link
Member

arp242 commented May 14, 2024

Fixed via #62.

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.

2 participants