emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The --with-wide-int build and Lisp_Sub_Char_Table assertion


From: Dmitry Antipov
Subject: Re: The --with-wide-int build and Lisp_Sub_Char_Table assertion
Date: Mon, 12 Jan 2015 20:03:29 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 01/12/2015 07:29 PM, Eli Zaretskii wrote:

In the 32-bit MinGW configuration with wide integers, we have:

   offsetof (struct Lisp_Sub_Char_Table, contents) = 16
   offsetof (struct Lisp_Sub_Char_Table, depth)    =  4
   word_size                                       =  8

OK, but...

   header_size                                     =  8
   offsetof(struct Lisp_Vector, contents)          =  8

==> sizeof(ptrdiff_t) is 8 in a 32-bit configuration?  Looks pretty
strange.  Or, if sizeof(ptrdiff_t) is 4, what is sizeof(struct 
vectorlike_header)?
IIUC it should be 4, and so header_size should be 4 too...

Dmitry




reply via email to

[Prev in Thread] Current Thread [Next in Thread]