unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Antipov <dmantipov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: The --with-wide-int build and Lisp_Sub_Char_Table assertion
Date: Mon, 12 Jan 2015 21:32:32 +0300	[thread overview]
Message-ID: <54B41340.7080605@yandex.ru> (raw)
In-Reply-To: <83siff52r8.fsf@gnu.org>

On 01/12/2015 08:26 PM, Eli Zaretskii wrote:

> This is exactly the flaw: the assumption that if the size of 'struct
> vectorlike_header' is 4, the offset of the next struct member is also
> 4.  In reality, a compiler can add padding, and evidently here it did,
> probably to get that member aligned an a 8-byte boundary.

For MinGW/32, 1) what happens if you use -m[no-]ms-bitfields?  (See
https://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html,
section 6.38.5 i386 Variable Attributes).  Or 2) what about using
__attribute__((packed))?  Stefan doesn't like it for an obvious reasons,
but may be just for this particular case...

Dmitry




  reply	other threads:[~2015-01-12 18:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-12 16:29 The --with-wide-int build and Lisp_Sub_Char_Table assertion Eli Zaretskii
2015-01-12 17:03 ` Dmitry Antipov
2015-01-12 17:26   ` Eli Zaretskii
2015-01-12 18:32     ` Dmitry Antipov [this message]
2015-01-12 18:43       ` Eli Zaretskii
2015-01-12 17:58   ` Andreas Schwab
2015-01-12 19:30 ` Paul Eggert
2015-01-13 16:14   ` 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=54B41340.7080605@yandex.ru \
    --to=dmantipov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).