* 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
* Re: compat/fsmonitor/fsm-listen-darwin warning on macOS Ventura
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
1 sibling, 0 replies; 3+ messages in thread
From: Taylor Blau @ 2022-11-08 3:00 UTC (permalink / raw)
To: René Scharfe
Cc: Git List, Jeff Hostetler, Kevin Willford, Johannes Schindelin
On Sat, Nov 05, 2022 at 06:26:57PM +0100, René Scharfe wrote:
> No idea how to use FSEventStreamSetDispatchQueue. I could run tests
> if that helps.
Ditto to both :-).
Thanks,
Taylor
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: compat/fsmonitor/fsm-listen-darwin warning on macOS Ventura
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
1 sibling, 0 replies; 3+ messages in thread
From: Jeff Hostetler @ 2022-11-15 18:48 UTC (permalink / raw)
To: René Scharfe, Git List
Cc: Jeff Hostetler, Kevin Willford, Johannes Schindelin
On 11/5/22 1:26 PM, René Scharfe wrote:
> 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
^ 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
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).