{"thread":{"id":"58750","subject":"compat/fsmonitor/fsm-listen-darwin warning on macOS Ventura","startedAt":"2022-11-05T17:27:06Z","lastAt":"2022-11-15T18:48:36Z","messageCount":3,"participants":["René Scharfe","Taylor Blau","Jeff Hostetler"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"466606","messageId":"5dbd5dd1-3a50-c0ce-d06a-227ec0a89bc6@web.de","threadId":"58750","inReplyTo":null,"subject":"compat/fsmonitor/fsm-listen-darwin warning on macOS Ventura","fromName":"René Scharfe","fromEmail":"l.s.r@web.de","sentAt":"2022-11-05T17:26:57Z","receivedAt":"2022-11-05T17:27:06Z","isPatch":false,"sender":{"key":"l.s.r@web.de","avatar":"https://avatars.githubusercontent.com/u/26122331?v=4"},"body":"Hi all,\n\non macOS 13.0 Ventura I get the following warning-turned-error when\ncompiling the fsmonitor code:\n\n\ncompat/fsmonitor/fsm-listen-darwin.c:495:2: error: 'FSEventStreamScheduleWithRunLoop' is deprecated: first deprecated in macOS 13.0 - Use FSEventStreamSetDispatchQueue instead. [-Werror,-Wdeprecated-declarations]\n        FSEventStreamScheduleWithRunLoop(data->stream, data->rl, kCFRunLoopDefaultMode);\n        ^\n/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\nFSEventStreamScheduleWithRunLoop(\n^\n1 error generated.\nmake: *** [compat/fsmonitor/fsm-listen-darwin.o] Error 1\n\n\nNo idea how to use FSEventStreamSetDispatchQueue.  I could run tests\nif that helps.\n\nRené\n\n"},{"id":"466785","messageId":"Y2nGYFHOIYmzMhsG@nand.local","threadId":"58750","inReplyTo":"5dbd5dd1-3a50-c0ce-d06a-227ec0a89bc6@web.de","subject":"Re: compat/fsmonitor/fsm-listen-darwin warning on macOS Ventura","fromName":"Taylor Blau","fromEmail":"me@ttaylorr.com","sentAt":"2022-11-08T03:00:48Z","receivedAt":"2022-11-08T03:00:53Z","isPatch":false,"sender":{"key":"me@ttaylorr.com","avatar":"https://avatars.githubusercontent.com/u/301000140?v=4"},"body":"On Sat, Nov 05, 2022 at 06:26:57PM +0100, René Scharfe wrote:\n> No idea how to use FSEventStreamSetDispatchQueue.  I could run tests\n> if that helps.\n\nDitto to both :-).\n\nThanks,\nTaylor\n"},{"id":"467328","messageId":"89762517-bde0-4512-797c-f0c75a8f7e76@jeffhostetler.com","threadId":"58750","inReplyTo":"5dbd5dd1-3a50-c0ce-d06a-227ec0a89bc6@web.de","subject":"Re: compat/fsmonitor/fsm-listen-darwin warning on macOS Ventura","fromName":"Jeff Hostetler","fromEmail":"git@jeffhostetler.com","sentAt":"2022-11-15T18:48:26Z","receivedAt":"2022-11-15T18:48:36Z","isPatch":false,"sender":{"key":"git@jeffhostetler.com","avatar":null},"body":"\n\nOn 11/5/22 1:26 PM, René Scharfe wrote:\n> Hi all,\n> \n> on macOS 13.0 Ventura I get the following warning-turned-error when\n> compiling the fsmonitor code:\n> \n> \n> compat/fsmonitor/fsm-listen-darwin.c:495:2: error: 'FSEventStreamScheduleWithRunLoop' is deprecated: first deprecated in macOS 13.0 - Use FSEventStreamSetDispatchQueue instead. [-Werror,-Wdeprecated-declarations]\n>          FSEventStreamScheduleWithRunLoop(data->stream, data->rl, kCFRunLoopDefaultMode);\n>          ^\n> /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\n> FSEventStreamScheduleWithRunLoop(\n> ^\n> 1 error generated.\n> make: *** [compat/fsmonitor/fsm-listen-darwin.o] Error 1\n> \n> \n> No idea how to use FSEventStreamSetDispatchQueue.  I could run tests\n> if that helps.\n> \n> René\n> \n\nThanks for the note.  I'll take a look and see if/how much this\nchanges things.\n\nJeff\n"}]}