all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Andy Moreton <andrewjmoreton@gmail.com>, bug-gnulib@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: Emacs build fails on Windows mingw64
Date: Sun, 24 Oct 2021 08:27:54 -0400	[thread overview]
Message-ID: <c9a7198a-03e6-3d23-3ce7-de0f828fd21d@cs.ucla.edu> (raw)
In-Reply-To: <86r1cag0ip.fsf@gmail.com>

On 10/24/21 6:50 AM, Andy Moreton wrote:
> An alternative workaround in ntlib.c is to add the missing defines
> before including <windows.h>:
>
> #define _GL_ATTRIBUTE_MALLOC
> #define _GL_ATTRIBUTE_DEALLOC_FREE

Although that works around this particular problem, it is vulnerable to 
future changes in Gnulib that add more such macros, and it's likely 
other Emacs source files would need similar workarounds in the future 
(or perhaps even now, in slightly-different MS-Windows configurations? I 
have no clue about the MS-Windows side).




  reply	other threads:[~2021-10-24 12:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <86v91nfp6e.fsf@gmail.com>
2021-10-24  3:45 ` Emacs build fails on Windows mingw64 Paul Eggert
2021-10-24  6:26   ` Eli Zaretskii
2021-10-24 10:50     ` Andy Moreton
2021-10-24 12:27       ` Paul Eggert [this message]
2021-10-24 12:25     ` Paul Eggert
2021-10-24 13:58       ` Eli Zaretskii
2021-10-24 17:05         ` Paul Eggert
2021-10-24 17:48           ` Eli Zaretskii
2021-10-24 17:57           ` Andy Moreton
2021-10-24 22:52             ` Bruno Haible
2021-10-25 11:52               ` Eli Zaretskii
2021-10-25 21:26               ` Andy Moreton
2021-10-24 18:01           ` Óscar Fuentes
2021-10-24 18:10             ` 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

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

  git send-email \
    --in-reply-to=c9a7198a-03e6-3d23-3ce7-de0f828fd21d@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=andrewjmoreton@gmail.com \
    --cc=bug-gnulib@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.