D as an extension language for C

Johan j at j.nl
Wed May 17 11:25:05 UTC 2023


On Wednesday, 17 May 2023 at 03:52:33 UTC, Walter Bright wrote:
> On 5/16/2023 6:36 AM, Adam D Ruppe wrote:
>> ImportC can do C bitfields, but since they're layout is 
>> undefined it is useless anyway.
>
> Pedantically, the C layout is not undefined, it is 
> implementation defined. D's bitfields, however, are defined to 
> match the layout of the associated C compiler.

What defines the "associated C compiler"?
It's the first time I hear it for D.

thanks,
   Johan



More information about the Digitalmars-d mailing list