[PATCH] D83250: [clang] Enable errors for undefined TARGET_OS_ macros in Darwin driver

Jeff Muizelaar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 26 11:38:05 PST 2021


jrmuizel added a comment.

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


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83250/new/

https://reviews.llvm.org/D83250



More information about the cfe-commits mailing list