I’m failing to build DrRacket on 10.14.6 with a recently updated XCode, and clang is complaining about a pragma, “clang diagnostic pop”:
env XFORM_USE_PRECOMP=xsrc/precomp.h ../racketcgc -G /Users/clements/racket/build/config -O "info@compiler/cm error" -l- setup --boot /Users/clements/racket/racket/src/build/../racket/gc2/../../setup-go.rkt ../../compiled --tag ++out /Users/clements/racket/racket/src/build/../racket/gc2/xform-mod.rkt --depends --cpp "gcc -E -I./.. -I/Users/clements/racket/racket/src/build/../racket/gc2/../include -I/Users/clements/racket/racket/src/build/../racket/gc2/../../rktio -I../../rktio -g -O2 -DOS_X -D_DARWIN_UNLIMITED_SELECT -fno-common -DUSE_SENORA_GC -Wno-nullability-completeness " --keep-lines -o ++out xsrc/salloc.c /Users/clements/racket/racket/src/build/../racket/gc2/../src/salloc.c pragma: unexpected pragma: clang diagnostic pop at: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/event.h:371 context...: /Users/clements/racket/racket/collects/compiler/private/xform.rkt:4072:10: loop /Users/clements/racket/racket/collects/compiler/private/xform.rkt:4109:10: loop /Users/clements/racket/racket/collects/compiler/private/xform.rkt:8:2: xform "/Users/clements/racket/racket/src/racket/gc2/xform-mod.rkt": [running body] temp37_0 for-loop run-module-instance!125 "/Users/clements/racket/racket/collects/setup/main.rkt": [running body] temp37_0 for-loop run-module-instance!125 perform-require!78 make[8]: *** [xsrc/salloc.c] Error 1 make[7]: *** [all] Error 2 make[6]: *** [3m] Error 2 make[5]: *** [3m] Error 2 make[4]: *** [racket-variant] Error 2 make[3]: *** [plain-base] Error 2 make[2]: *** [plain-minimal-in-place] Error 2 make[1]: *** [plain-in-place] Error 2 make: *** [in-place] Error 2 After a bit of investigation, I see that this is not an error from clang, it looks like it’s actually coming from xform, which makes me wonder whether commit 429436fb77e7a3dbf0a5c1eb5c could have made xform unhappy. Maybe I’ll try building the version from just before this commit? John -- You received this message because you are subscribed to the Google Groups "Racket Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/7d190fe1-bf42-4167-87f5-9463d5330b22%40mtasv.net.