emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bootstrap failure on master with native compilation for Windows


From: Andy Moreton
Subject: Re: Bootstrap failure on master with native compilation for Windows
Date: Sun, 27 Oct 2024 01:30:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]