[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 14 00:48:13 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24389
kinke <kinke at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kinke at gmx.net
--- Comment #11 from kinke <kinke at gmx.net> ---
I agree that being able to robustly build Phobos (on updated or exotic targets)
is way more important than slightly simplifying the druntime build and testing
importC for free while at it. [That's why I'll keep using the C compiler for
LDC, where exotic targets are much more common than with DMD.]
If any of these common system headers use unsupported syntax/features, importC
is basically unusable on that target, and adding support might be non-trivial
as in this case.
It might be worth trying to make importC/CC configurable via make option, so
that we don't lose the extra test coverage for the common targets, where
importC works sufficiently; I guess that wouldn't come with too many extra
makefile lines.
--
More information about the Digitalmars-d-bugs
mailing list