git/list[1] front-page[2] threads[3] people[4] search[5] about
 

compat/fsmonitor/fsm-listen-darwin warning on macOS Ventura

From
René Scharfe <l.s.r@web.de>
Date
Nov 5, 2022, 17:26 UTC
Message-ID
<5dbd5dd1-3a50-c0ce-d06a-227ec0a89bc6@web.de>
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é
Next: Taylor Blau
Message 1 of 3 in “compat/fsmonitor/fsm-listen-darwin warning on macOS Ventura”
  1. René ScharfeNov 5, 2022
  2. Taylor BlauNov 8, 2022
  3. Jeff HostetlerNov 15, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.