unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Build failure in gettimeofday
Date: Wed, 9 Sep 2020 10:44:54 +0200	[thread overview]
Message-ID: <64c1de46-bd43-411f-bae9-93b509bb8815@gmx.at> (raw)

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
                                               ^
../../lib/gettimeofday.c:101:7: note: in expansion of macro 'GetSystemTimePreciseAsFileTimeFunc'
    if (GetSystemTimePreciseAsFileTimeFunc != NULL)
        ^
../../lib/gettimeofday.c:102:5: warning: implicit declaration of function 'GetSystemTimePreciseAsFileTime' [-Wimplicit-function-declaration]
      GetSystemTimePreciseAsFileTimeFunc (&current_time);
      ^
../../lib/gettimeofday.c:102:5: warning: nested extern declaration of 'GetSystemTimePreciseAsFileTime' [-Wnested-externs]
make[1]: *** [gettimeofday.o] Error 1
make[1]: Leaving directory `/c/emacs-git/trunk/dbg/lib'
make: *** [lib] Error 2
make: *** Waiting for unfinished jobs....


Help appreciated.

Thanks in advance, martin



             reply	other threads:[~2020-09-09  8:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-09  8:44 martin rudalics [this message]
2020-09-09 14:34 ` Build failure in gettimeofday Eli Zaretskii
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=64c1de46-bd43-411f-bae9-93b509bb8815@gmx.at \
    --to=rudalics@gmx.at \
    --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).