You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe we need to regenerate the macOS libc headers to include changes from macOS 12.0 Monterey.
(1) libc headers for aarch64-macos-gnu report only macOS 11.1 being available (12.0 Monterey is the newest), which can cause issues when trying to compile some code. I believe I'm facing this in hexops/mach#84
(2) sys/cdefs.h currently does not define these as empty, which the latest header file from the macOS 12.0 SDK does:
This makes it impossible to supply macOS 12.0 frameworks and compile their headers, as e.g. definitions in IOKit/IOTypes.h become syntactically invalid:
Zig Version
0.9.0-dev.1696+ff9a44a9f
Steps to Reproduce
I believe we need to regenerate the macOS libc headers to include changes from macOS 12.0 Monterey.
(1) libc headers for aarch64-macos-gnu report only macOS 11.1 being available (12.0 Monterey is the newest), which can cause issues when trying to compile some code.
I believe I'm facing this in hexops/mach#84(2)
sys/cdefs.h
currently does not define these as empty, which the latest header file from the macOS 12.0 SDK does:This makes it impossible to supply macOS 12.0 frameworks and compile their headers, as e.g. definitions in
IOKit/IOTypes.h
become syntactically invalid:Expected Behavior
The headers reflect macOS 12
Actual Behavior
They do not reflect macOS 12
The text was updated successfully, but these errors were encountered: