From: Paul Eggert <eggert@cs.ucla.edu>
To: "Vincent Belaïche" <vincent.b.1@hotmail.fr>,
"EMACS devel list" <emacs-devel@gnu.org>
Subject: Re: Latest EMACS on BZR trunk does not compile with MinGW
Date: Tue, 03 Jun 2014 13:22:40 -0700 [thread overview]
Message-ID: <538E2E90.4020706@cs.ucla.edu> (raw)
In-Reply-To: <80sinlu5kt.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 516 bytes --]
On 06/03/2014 01:00 PM, Vincent Belaïche wrote:
> dup2.c:35:0: warning: "WIN32_LEAN_AND_MEAN" redefined [enabled by default]
Why is your build trying to compile lib/dup2.c? That appears to be the
real bug here. Emacs is supposed to supply its own dup2 on Microsoft
Windows, and the build shouldn't try to compile the Gnulib dup2.c there.
> msvc-inval.h, given its naming, is probably a file from the MS Visual C
> compiler suite
No, it's from Gnulib. It's a part of Gnulib that Emacs is not using.
[-- Attachment #2: ms.diff --]
[-- Type: text/x-patch, Size: 281 bytes --]
=== modified file 'nt/inc/ms-w32.h'
--- nt/inc/ms-w32.h 2014-05-27 17:31:17 +0000
+++ nt/inc/ms-w32.h 2014-06-03 20:13:15 +0000
@@ -145,7 +145,7 @@
#endif
/* Make a leaner executable. */
-#define WIN32_LEAN_AND_MEAN 1
+#define WIN32_LEAN_AND_MEAN
#include <sys/types.h>
next prev parent reply other threads:[~2014-06-03 20:22 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-03 20:00 Latest EMACS on BZR trunk does not compile with MinGW Vincent Belaïche
2014-06-03 20:22 ` Paul Eggert [this message]
2014-06-03 20:56 ` Óscar Fuentes
2014-06-03 21:15 ` Eli Zaretskii
2014-06-03 21:21 ` Vincent Belaïche
2014-06-04 6:47 ` Eli Zaretskii
2014-06-04 13:17 ` Vincent Belaïche
2014-06-04 13:31 ` Eli Zaretskii
2014-06-04 15:28 ` Vincent Belaïche
2014-06-04 15:44 ` Eli Zaretskii
2014-06-04 15:54 ` Dani Moncayo
2014-06-04 16:05 ` Eli Zaretskii
2014-06-04 21:50 ` Dani Moncayo
2014-06-05 0:42 ` Stefan Monnier
2014-06-05 2:51 ` Eli Zaretskii
2014-06-05 3:40 ` Óscar Fuentes
2014-06-05 7:03 ` Dani Moncayo
2014-06-05 9:03 ` Vincent Belaïche
2014-06-05 15:09 ` Eli Zaretskii
2014-06-05 14:51 ` Eli Zaretskii
2014-06-05 16:19 ` Óscar Fuentes
2014-06-05 17:52 ` Eli Zaretskii
2014-06-05 13:31 ` Stefan Monnier
2014-06-05 15:15 ` Eli Zaretskii
2014-06-05 16:50 ` Stefan Monnier
2014-06-05 18:07 ` Eli Zaretskii
2014-06-05 19:35 ` Paul Eggert
2014-06-05 19:54 ` Eli Zaretskii
2014-06-10 19:25 ` Dani Moncayo
2014-06-10 20:21 ` Eli Zaretskii
2014-06-05 20:54 ` Stefan Monnier
2014-06-05 2:47 ` Eli Zaretskii
2014-06-04 12:22 ` Using Qunsupported__w32_dialog Dmitry Antipov
2014-06-04 13:09 ` Eli Zaretskii
2014-06-04 13:37 ` Dmitry Antipov
2014-06-04 13:47 ` Eli Zaretskii
2014-06-04 14:06 ` Eli Zaretskii
2014-06-03 21:14 ` Latest EMACS on BZR trunk does not compile with MinGW 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=538E2E90.4020706@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=vincent.b.1@hotmail.fr \
/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.