[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bootstrap failure on master with native compilation for Windows
From: |
Eli Zaretskii |
Subject: |
Re: Bootstrap failure on master with native compilation for Windows |
Date: |
Sat, 26 Oct 2024 22:41:12 +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.