all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Bootstrap failure on master with native compilation for Windows
Date: Sun, 27 Oct 2024 01:30:02 +0100	[thread overview]
Message-ID: <86ed42qtf9.fsf@gmail.com> (raw)
In-Reply-To: 86a5eqbqjr.fsf@gnu.org

On Sat 26 Oct 2024, Eli Zaretskii wrote:

>> Date: Sat, 26 Oct 2024 22:20:13 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> CC: emacs-devel@gnu.org
>> 
>> > Date: Sat, 26 Oct 2024 22:17:08 +0300
>> > From: Eli Zaretskii <eliz@gnu.org>
>> > Cc: emacs-devel@gnu.org
>> > 
>> > Does it help to move the following part out of syms_of_w32dwrite to
>> > the top level of that file?
>> > 
>> >   DEFVAR_BOOL ("w32-inhibit-dwrite", w32_inhibit_dwrite,
>> > 	       doc: /* If t, don't use DirectWrite.  */);
>> 
>> Actually, I think the problem is that it is not initialized, so try
>> this:
>> 
>> void
>> syms_of_w32dwrite (void)
>> {
>>   DEFVAR_BOOL ("w32-inhibit-dwrite", w32_inhibit_dwrite,
>> 	       doc: /* If t, don't use DirectWrite.  */);
>>   w32_inhibit_dwrite = false;  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> 
>>   defsubr (&Sw32_dwrite_reinit);
>>   defsubr (&Sw32_dwrite_available);
>> }
>
> Sorry, ignore me.  The problem was that syms_of_w32dwrite was called
> from the wrong place, not from where all the syms_of_* functions are
> called, and it uses defsubr.
>
> Please try the latest master, I hope I fixed this.

Thanks Eli, native compilation builds are working again.

    AndyM




      reply	other threads:[~2024-10-27  0:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-26 19:00 Bootstrap failure on master with native compilation for Windows Andy Moreton
2024-10-26 19:17 ` Eli Zaretskii
2024-10-26 19:20   ` Eli Zaretskii
2024-10-26 19:41     ` Eli Zaretskii
2024-10-27  0:30       ` Andy Moreton [this message]

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=86ed42qtf9.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --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.