Add clang option -Wundef-prefix=TARGET_OS_ and -Werror=undef-prefix
to Darwin driver.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This seems to have broken compilation for me on 10.15.
The stdio.h from the 10.15 SDK there's the following usage:
#if TARGET_OS_EMBEDDED #define __swift_unavailable_on(osx_msg, ios_msg) __swift_unavailable(ios_msg) #else #define __swift_unavailable_on(osx_msg, ios_msg) __swift_unavailable(osx_msg) #endif