From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: andrewjmoreton@gmail.com, emacs-devel@gnu.org
Subject: Re: Current master doesn't build on Win10 (nor does emacs-28)
Date: Sun, 24 Oct 2021 20:31:55 +0200 [thread overview]
Message-ID: <xm46cznu9sv8.fsf@duenenhof-wilhelm.de> (raw)
In-Reply-To: <83k0i22t6i.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 24 Oct 2021 21:07:01 +0300")
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.)
next prev parent reply other threads:[~2021-10-24 18:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-22 15:21 Current master doesn't build on Win10 Arash Esbati
2021-10-22 16:20 ` Eli Zaretskii
2021-10-22 23:55 ` Andy Moreton
2021-10-23 19:06 ` Current master doesn't build on Win10 (nor does emacs-28) Andy Moreton
2021-10-24 17:56 ` H. Dieter Wilhelm
2021-10-24 18:07 ` Eli Zaretskii
2021-10-24 18:31 ` H. Dieter Wilhelm [this message]
2021-10-24 18:54 ` Eli Zaretskii
2021-10-23 8:24 ` Current master doesn't build on Win10 Arash Esbati
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=xm46cznu9sv8.fsf@duenenhof-wilhelm.de \
--to=dieter@duenenhof-wilhelm.de \
--cc=andrewjmoreton@gmail.com \
--cc=eliz@gnu.org \
--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.