[Issue 24124] ImportC: gcc simd intrinsics not supported by dmd

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 7 13:58:22 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=24124

--- Comment #9 from Steven Schveighoffer <schveiguy at gmail.com> ---
In general, I agree with this result.

The unfortunate reality is, many C libraries are going to use the definitions
from the local c preprocessor (which is not related to DMD) to make decisions,
which means that code simply won't compile with DMD.

The only real solution would be for DMD to require a specific set of C headers
and C preprocessor that goes with it, and code to that.

ImportC with system headers might be a LDC/GDC-only thing.

--


More information about the Digitalmars-d-bugs mailing list