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

--- Comment #9 from Steven Schveighoffer <[email protected]> ---
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.

--

Reply via email to