git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* compat/fsmonitor/fsm-listen-darwin warning on macOS Ventura
@ 2022-11-05 17:26 René Scharfe
  2022-11-08  3:00 ` Taylor Blau
  2022-11-15 18:48 ` Jeff Hostetler
  0 siblings, 2 replies; 3+ messages in thread
From: René Scharfe @ 2022-11-05 17:26 UTC (permalink / raw)
  To: Git List; +Cc: Jeff Hostetler, Kevin Willford, Johannes Schindelin

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é


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-15 18:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-05 17:26 compat/fsmonitor/fsm-listen-darwin warning on macOS Ventura René Scharfe
2022-11-08  3:00 ` Taylor Blau
2022-11-15 18:48 ` Jeff Hostetler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).