all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: andrewjmoreton@gmail.com
Cc: emacs-devel@gnu.org
Subject: Re: Bootstrap failure on master with native compilation for Windows
Date: Sat, 26 Oct 2024 22:41:12 +0300	[thread overview]
Message-ID: <86a5eqbqjr.fsf@gnu.org> (raw)
In-Reply-To: <86bjz6briq.fsf@gnu.org> (message from Eli Zaretskii on Sat, 26 Oct 2024 22:20:13 +0300)

> 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.



  reply	other threads:[~2024-10-26 19:41 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 [this message]
2024-10-27  0:30       ` Andy Moreton

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=86a5eqbqjr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=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.