unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Arash Esbati <arash@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Current master doesn't build on Win10
Date: Fri, 22 Oct 2021 19:20:52 +0300	[thread overview]
Message-ID: <838ryl6nff.fsf@gnu.org> (raw)
In-Reply-To: <86mtn1nkz6.fsf@gnu.org> (message from Arash Esbati on Fri, 22 Oct 2021 17:21:49 +0200)

> From: Arash Esbati <arash@gnu.org>
> Date: Fri, 22 Oct 2021 17:21:49 +0200
> 
> current master (commit f7a2ff3b) doesn't build with Msys2.  The message
> is:
> 
> --8<---------------cut here---------------start------------->8---
> make[1]: Entering directory '/z/pathto/emacs/lib-src'
>   CC       ntlib.o
>   RC       emacsclient.res
>   CC       pop.o
> In file included from z:/pathto/msys64/mingw64/x86_64-w64-mingw32/include/guiddef.h:154,
>                  from z:/pathto/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:635,
>                  from z:/pathto/msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163,
>                  from z:/pathto/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:9,
>                  from z:/pathto/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
>                  from ntlib.c:23:
> ../lib/string.h:965:1: error: expected ',' or ';' before '_GL_ATTRIBUTE_MALLOC'
>   965 | _GL_FUNCDECL_SYS (strdup, char *,
>       | ^~~~~~~~~~~~~~~~
> make[1]: *** [Makefile:418: ntlib.o] Error 1
> make[1]: Leaving directory '/z/pathto/emacs/lib-src'
> --8<---------------cut here---------------end--------------->8---
> 
> I'm not sure this is an Emacs issue or not.  GCC 11.2 landed also today
> on my HD.  Can others reproduce this?

lib/string.h is a Gnulib header, so I suggest to report this to
bug-gnulib@gnu.org.  Or maybe it's some problem with MinGW64 headers
(did that get updated as well recently?).  In any case, I just rebuilt
the relevant files, and saw no problem (I'm a happy user of GCC 9.2.0).




  reply	other threads:[~2021-10-22 16:20 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838ryl6nff.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=arash@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).