Closed IngwiePhoenix closed 3 years ago
For further context, TARGET_OS_OSX
and TARGET_OS_LINUX
also show up a lot. I ran with ninja -k 1000
to see how far the build gets - but these undefined macros just break the build :/
Taking another look at one of the failing commands, I spot these:
-Wno-nullability-completeness
-Wno-deprecated-declarations
-Wno-expansion-to-defined
-std=c++17
-Wno-availability
None of them strike me as implicy specifying -Werror
as the message above shows, let alone disabling TARGET_OS_
defines. I am a little lost to be honest.
This is the same issue as https://github.com/darlinghq/darling/issues/856
I'll give the solution given there a shot. Though, I use Clang 11. Anyway, will come back with a result later.
Yup, that worked. But I also ran into the same issue regarding the enums... Anyway, core issue solved, closing.
Build Log A lot of these:
Tried to
grep -r "undef-prefix" $darlingsrc_root
but found nothing. Where'd that come from?System Information What system are you building with?
4.19.128-microsoft-standard
(WSL2/Debian 10)1d3b09970856d58d12867f4ee5b9b1bf84cd05c2