Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable warning on macos with dmon.h #1402

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Conversation

Meakk
Copy link
Member

@Meakk Meakk commented Apr 26, 2024

Silent the following warning:

[1/2] Building CXX object application/CMakeFiles/f3d.dir/F3DStarter.cxx.o
In file included from /Users/michael/dev/f3d/application/F3DStarter.cxx:21:
/Users/michael/dev/f3d/external/dmon/dmon.h:1481:17: warning: 'FSEventStreamScheduleWithRunLoop' is deprecated: first deprecated in macOS 13.0 - Use FSEventStreamSetDispatchQueue instead. [-Wdeprecated-declarations]
                FSEventStreamScheduleWithRunLoop(watch->fsev_stream_ref, _dmon.cf_loop_ref, kCFRunLoopDefaultMode);
                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:1153:1: note: 'FSEventStreamScheduleWithRunLoop' has been explicitly marked deprecated here
FSEventStreamScheduleWithRunLoop(
^
1 warning generated.

@Meakk Meakk requested a review from mwestphal April 26, 2024 19:47
@Meakk Meakk self-assigned this Apr 26, 2024
@Meakk Meakk force-pushed the disable-warning branch from 95dfe3f to 875aacb Compare April 26, 2024 20:36
@Meakk Meakk merged commit f1df2cd into f3d-app:master Apr 26, 2024
39 checks passed
snoyer pushed a commit to snoyer/f3d that referenced this pull request Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants