[Top][All Lists]

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

bug#36597: 27.0.50; rehash hash tables eagerly in pdumper

From: Paul Eggert
Subject: bug#36597: 27.0.50; rehash hash tables eagerly in pdumper
Date: Tue, 11 Aug 2020 11:11:20 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 8/11/20 10:00 AM, Eli Zaretskii wrote:
The warnings about %d vs gl_intptr_t should be fixed in Gnulib, I
think: why does it use 'long int' instead of 'int' on 32-bit
platforms?  Or maybe the format in pdumper.c should use %ld instead, I
don't know.

Ah, it's because Emacs uses C99 inttypes.h macros like PRIdPTR without also using the Gnulib inttypes module which implements these macros on platforms like MinGW where the macros don't work. This problem occurs elsewhere in Emacs in a couple of places, we just never noticed it. I installed the attached patch, which I hope fixes the glitch.

Attachment: 0001-Use-Gnulib-inttypes-module.patch
Description: Text Data

reply via email to

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