[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Packing of union fields and bool_bf
From: |
Eli Zaretskii |
Subject: |
Re: Packing of union fields and bool_bf |
Date: |
Sat, 13 Oct 2018 19:54:13 +0300 |
> Cc: address@hidden
> From: Paul Eggert <address@hidden>
> Date: Sat, 13 Oct 2018 11:22:31 -0500
>
> > Adjacent bit fields are packed into the same 1-, 2-, or 4-byte
> > allocation unit if the integral types are the same size
>
>
> It's silly to require the integral types to be the same size, since the
> actual size is given by the number of bits in the bitfield. But if it's
> the Microsoft API we can't change it. Does the attached patch work
> around the problem?
Yes, I installed something similar (__MINGW32__ instead of DOS_NT, as
I don't think the MSDOS build needs this).
Thanks.