bit fields

Iain Buclaw ibuclaw at gdcproject.org
Sat Aug 28 23:12:16 UTC 2021


On Saturday, 28 August 2021 at 22:46:14 UTC, Dennis wrote:
> On Saturday, 28 August 2021 at 08:20:25 UTC, Walter Bright 
> wrote:
>> They should be able to use bit fields that "just work" with 
>> the associated C compiler.
>
> How does dmd know which C compiler you're interfacing with?

Windows targets default to MS bit-fields, Posix targets default 
to GCC bit-fields.  It's a run-time configurable option, so the 
likes of gdc will re-use the -mms-bitfields option.


More information about the Digitalmars-d mailing list