unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: tom@tromey.com, emacs-devel@gnu.org
Subject: Re: Packing of union fields and bool_bf
Date: Sat, 13 Oct 2018 19:54:13 +0300	[thread overview]
Message-ID: <834ldpvlca.fsf@gnu.org> (raw)
In-Reply-To: <a48ca49b-9af3-7749-bda2-6a7b8461075c@cs.ucla.edu> (message from Paul Eggert on Sat, 13 Oct 2018 11:22:31 -0500)

> Cc: emacs-devel@gnu.org
> From: Paul Eggert <eggert@cs.ucla.edu>
> 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.



  reply	other threads:[~2018-10-13 16:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-13 15:15 Packing of union fields and bool_bf Eli Zaretskii
2018-10-13 15:58 ` Tom Tromey
2018-10-13 16:22   ` Paul Eggert
2018-10-13 16:54     ` Eli Zaretskii [this message]
2018-10-13 16:43   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=834ldpvlca.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=tom@tromey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).