Broken cpp? (apple clang 17)
Daniel J. Luke
dluke at geeklair.net
Wed May 6 18:03:17 UTC 2026
People may already know this, but it looks to me like `clang -E` (the c-preprocessor) Apple's version 17.0.0 is somewhat broken.
I noticed when trying to build apache httpd 2.4.67 on a macOS 15 host, that the generated server/exports.c appeared to be truncated at newlines from AP_DECLARE_NONSTD macros (from include/http_config.h). Building with macpots clang-22 works fine, though (CC=/opt/local/bin/clang-mp-22 CPP=/opt/local/bin/clang-cpp-mp-22).
Anyone else seeing similar?
--
Daniel J. Luke
More information about the macports-dev
mailing list