fix Apple compiler detection regression#992
Conversation
|
Can you point to me to the version of To properly match the Clang extension all the And I don't think we need to define any |
On macOS 16.24.1 with the newest Xcode it is at You can also view it here.
I can implement this tomorrow.
Clang implements two special functions: |
Aro has those functions; they aren't heavily tested or used though so it's possible they don't work exactly how clang's do. |
|
Ok, so IMHO the best solution would be to fix any differences between Aro's and clang's version. My plan is to first port Clangs tests for __is_target_arch and __is_target_os to Aro. Here is a list: |
|
I'm closing this because I've 90% of a PR done which makes the clang tests run under Aro. New PR comes tomorrow! |
This PR sets TARGET_CPU_ and TARGET_OS_ when targeting Apple OSes.
TargetConditionals.hhas been updated recently and which leads to arocc not being able to compile Libraries that use it. As an example, see thezig16-devbranch of dvui.In
TargetConditionals.h, the suggested fix is described on line 385:This PR does just that.