[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Current master doesn't build on Win10 (nor does emacs-28)
From: |
H. Dieter Wilhelm |
Subject: |
Re: Current master doesn't build on Win10 (nor does emacs-28) |
Date: |
Sun, 24 Oct 2021 20:31:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (windows-nt) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
>> Date: Sun, 24 Oct 2021 19:56:26 +0200
>> Cc: emacs-devel@gnu.org
>>
>> >> # if __GNUC__ >= 11 && !defined strdup
>> >> /* For -Wmismatched-dealloc: Associate strdup with free or rpl_free. */
>> >> _GL_FUNCDECL_SYS (strdup, char *,
>> >> (char const *__s)
>> >> _GL_ARG_NONNULL ((1))
>> >> _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE);
>> >> # endif
>> >>
>> >>
>> >> Hopefully Paul Eggert will be along soon to come up with a proper fix in
>> >> gnulib.
>> >
>> > Note that this problem also occurs on emacs-28, and the workaround above
>> > also works. Thus this needs a gnulib fix before the release.
>>
>> I can't reproduce this for the emacs-28 branch with a pull from
>> yesterday evening! It seems that
>>
>> make bootstrap
>>
>> make install
>>
>> is running through without any errors. The MSYS2 and MinGW collections
>> are quite recent, but it seems gcc 11 is not installed. gcc --version
>> => 10.3.0
>
> It only happens with GCC 11, that's why you don't see it.
I see, thanks. Is it possible to install both versions of gcc and the
necessary libraries? (I've seen that when I would install
mingw-w64-x68_64-gcc the gcc 10.3.0 executable will be overwritten.)
Re: Current master doesn't build on Win10, Arash Esbati, 2021/10/23