unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel@gnu.org
Subject: Re: Build failure in gettimeofday
Date: Wed, 09 Sep 2020 17:34:04 +0300	[thread overview]
Message-ID: <83blifkoir.fsf@gnu.org> (raw)
In-Reply-To: <64c1de46-bd43-411f-bae9-93b509bb8815@gmx.at> (message from martin rudalics on Wed, 9 Sep 2020 10:44:54 +0200)

> From: martin rudalics <rudalics@gmx.at>
> Date: Wed, 9 Sep 2020 10:44:54 +0200
> 
> Not having tried to build master for a couple of months with my
> antediluvian Windows XP setup, compiling currently fails thusly:
> 
> 
> make -C doc/lispref info
>    CC       gettimeofday.o
> make[2]: Entering directory `/c/emacs-git/trunk/dbg/doc/lispref'
>    GEN      ../../../doc/lispref/../../info/elisp.info
> ../../lib/gettimeofday.c: In function 'gettimeofday':
> ../../lib/gettimeofday.c:63:46: error: 'GetSystemTimePreciseAsFileTime' undeclared (first use in this function)
>   #  define GetSystemTimePreciseAsFileTimeFunc GetSystemTimePreciseAsFileTime
>                                                ^
> ../../lib/gettimeofday.c:101:7: note: in expansion of macro 'GetSystemTimePreciseAsFileTimeFunc'
>     if (GetSystemTimePreciseAsFileTimeFunc != NULL)
>         ^
> ../../lib/gettimeofday.c:63:46: note: each undeclared identifier is reported only once for each function it appears in
>   #  define GetSystemTimePreciseAsFileTimeFunc GetSystemTimePreciseAsFileTime
>                                                ^

Doesn't happen here.  Which flavor of MinGW are you using, and what
are the values of _WIN32_WINNT and _WIN32_WINNT_WIN8 when compiling
lib/gettimeofday.c?



  reply	other threads:[~2020-09-09 14:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-09  8:44 Build failure in gettimeofday martin rudalics
2020-09-09 14:34 ` Eli Zaretskii [this message]
2020-09-14  8:10   ` martin rudalics
2020-09-14 16:19     ` Eli Zaretskii
2020-09-15  8:06       ` martin rudalics
2020-09-15 15:13         ` Eli Zaretskii
2020-09-16  8:21           ` martin rudalics
2020-09-16 14:41             ` Eli Zaretskii
2020-09-17  8:14               ` martin rudalics
2020-09-17 13:42                 ` Eli Zaretskii
2020-09-18  7:48                   ` martin rudalics
2020-09-18  8:03                     ` Eli Zaretskii
2020-09-18  8:18                       ` martin rudalics
2020-09-18  8:25                         ` Eli Zaretskii

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=83blifkoir.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /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).