Add ImportC compiler to dmd

Guillaume Piolat first.last at gmail.com
Mon May 10 11:14:17 UTC 2021


On Monday, 10 May 2021 at 02:12:02 UTC, Adam D. Ruppe wrote:
>
> But I'm against merging something that's only maybe 20% done. 
> Get up to 50% - integrated cpp with those #defines actually 
> being available to D... and maybe we have something usable and 
> a solid basis to estimate how much work is left (by the time 
> you get to the point where you can do this, the work is about 
> 1/3 done. There'd still the all the little details that need to 
> be done and the inevitable flurry of bugs. I'd be surprised if 
> this is legitimately usable by the end of the year. But it 
> would prove it is realistically possible once importing a 
> module with some defined constants works from the D side.)

+1

For example a lot of "C" headers in the wild use pragma(pack), 
and it seems awful to implement. No, it doesn't correspond to 
what align(x) does.


More information about the Digitalmars-d mailing list