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.