From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Build failure in gettimeofday
Date: Tue, 15 Sep 2020 10:06:48 +0200 [thread overview]
Message-ID: <6e3a05c3-f66a-93cf-e5ba-9d1115154686@gmx.at> (raw)
In-Reply-To: <83k0ww9vqk.fsf@gnu.org>
> Please show the output of "gcc --version", and the version-related
> macros in the _mingw.h header (under your system include directory).
gcc --version
gcc (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
and _mingw.h with
#define __MINGW32_VERSION 3021000L
#define __MINGW32_MAJOR_VERSION 3
#define __MINGW32_MINOR_VERSION 21
#define __MINGW32_PATCHLEVEL 0
Grepping my MinGW tree doesn't find any trace of _WIN32_WINNT_WIN8.
And indeed backporting the
# if !(_WIN32_WINNT >= _WIN32_WINNT_WIN8)
if (!initialized)
initialize ();
# endif
chunk to a release build and running under gdb I get
Breakpoint 1, gettimeofday (tv=0x82f5f8, tz=0x0) at ../../lib/gettimeofday.c:92
92 if (!initialized)
(gdb) p _WIN32_WINNT
$1 = 1024
(gdb) p _WIN32_WINNT_WIN8
No symbol "_WIN32_WINNT_WIN8" in current context.
The reason seems to be that the version of MinGW I'm using here has no
include/sdkddkver.h yet. Sorry for the late check but my release
Emacs on this machine deliberately changes my keyboard layout from
German to American and I have no idea how to stop it from doing that.
martin
next prev parent reply other threads:[~2020-09-15 8:06 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
2020-09-14 8:10 ` martin rudalics
2020-09-14 16:19 ` Eli Zaretskii
2020-09-15 8:06 ` martin rudalics [this message]
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=6e3a05c3-f66a-93cf-e5ba-9d1115154686@gmx.at \
--to=rudalics@gmx.at \
--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 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).