D as an extension language for C
Walter Bright
newshound2 at digitalmars.com
Wed May 17 17:00:28 UTC 2023
On 5/17/2023 2:53 AM, max haughton wrote:
> This, for example, is why one of the ELF specifications explicitly recommends
> not using bitfields to implement it.
That's also why people implementing ELF use typedefs instead of ints, etc., and
have special code to deal with endianness, which is also implementation defined.
Despite all this implementation defined behavior in C, there are some things
that while pedantically implementation defined, are in practice consistently
defined across diverse compilers. The int bitfields, for example.
More information about the Digitalmars-d
mailing list