Skip to content

Dune 3.0 doesn't compile on macOS older than 10.13 #5430

@anmonteiro

Description

@anmonteiro

Building Dune on macOS < 10.13 results in the following compilation errors:

       last 10 log lines:
       >       kFSEventStreamCreateFlagUseExtendedData |
       >       ^
       > src/fsevents/fsevents_stubs.c:315:5: error: use of undeclared identifier 'kFSEventStreamEventFlagItemCloned'
       >     kFSEventStreamEventFlagItemCloned};
       >     ^
       > src/fsevents/fsevents_stubs.c:320:22: error: invalid application of 'sizeof' to an incomplete type 'const FSEventStreamEventFlags []'
       >   size_t len = sizeof(all_flags) / sizeof(FSEventStreamEventFlags);
       >                      ^~~~~~~~~~~
       > 4 errors generated.

It seems like these APIs are only part of the 10.13 SDK.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions