Re: compat/fsmonitor/fsm-listen-darwin warning on macOS Ventura
- From
- Jeff Hostetler <git@jeffhostetler.com>
- Date
- Nov 15, 2022, 18:48 UTC
- Message-ID
- <89762517-bde0-4512-797c-f0c75a8f7e76@jeffhostetler.com>
- In-Reply-To
- <5dbd5dd1-3a50-c0ce-d06a-227ec0a89bc6@web.de>
On 11/5/22 1:26 PM, René Scharfe wrote:
Show 21 quoted lines
> Hi all, > > on macOS 13.0 Ventura I get the following warning-turned-error when > compiling the fsmonitor code: > > > compat/fsmonitor/fsm-listen-darwin.c:495:2: error: 'FSEventStreamScheduleWithRunLoop' is deprecated: first deprecated in macOS 13.0 - Use FSEventStreamSetDispatchQueue instead. [-Werror,-Wdeprecated-declarations] > FSEventStreamScheduleWithRunLoop(data->stream, data->rl, kCFRunLoopDefaultMode); > ^ > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:1138:1: note: 'FSEventStreamScheduleWithRunLoop' has been explicitly marked deprecated here > FSEventStreamScheduleWithRunLoop( > ^ > 1 error generated. > make: *** [compat/fsmonitor/fsm-listen-darwin.o] Error 1 > > > No idea how to use FSEventStreamSetDispatchQueue. I could run tests > if that helps. > > René >
Thanks for the note. I'll take a look and see if/how much this changes things.
Jeff