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 see a lot of projects failing with the following error with clang=11 on osx-64:
error: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
#if !(defined(__APPLE__) && (TARGET_OS_TV || TARGET_OS_WATCH))
This is because we are still on the 10.9 SDK which doesn't come with a corresponding TargetConditionals.h header. The 11 SDK has the corresponding header and thus the jobs don't fail there.
I see a lot of projects failing with the following error with
clang=11
onosx-64
:See Azure build for
nodejs
PR as an example.This is because we are still on the 10.9 SDK which doesn't come with a corresponding
TargetConditionals.h
header. The 11 SDK has the corresponding header and thus the jobs don't fail there.This is a hard
-Werror
failure baked into clang that cannot be deactivated easily by the user https://github.com/llvm/llvm-project/blob/176249bd6732a8044d457092ed932768724a6f06/clang/lib/Driver/ToolChains/Darwin.cpp#L961-L964The text was updated successfully, but these errors were encountered: