From 1191988556fff08c954c4b8ee28002b272c7ced2 Mon Sep 17 00:00:00 2001 From: Frederik Seiffert Date: Thu, 2 Jan 2025 15:00:49 +0100 Subject: [PATCH] gnustep-corebase: define _UCRT_NOISY_NAN Works around build error for NAN "initializer element is not a compile-time constant" with recent Windows SDK versions. Fixes #53. --- phases/40-gnustep-corebase.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phases/40-gnustep-corebase.sh b/phases/40-gnustep-corebase.sh index 5b081ca..5945319 100755 --- a/phases/40-gnustep-corebase.sh +++ b/phases/40-gnustep-corebase.sh @@ -32,7 +32,8 @@ echo "### Running configure" echo echo "### Building" -make -j`nproc` +# define _UCRT_NOISY_NAN to work around https://developercommunity.visualstudio.com/t/NAN-is-no-longer-compile-time-constant-i/10688907 +make -j`nproc` CFLAGS=-D_UCRT_NOISY_NAN echo echo "### Installing"