This is the mail archive of the
mailing list for the GDB project.
RE: [RFA] Fix compilation of mingw64 with recent mingw64 header
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Tom Tromey'" <tromey at redhat dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Tue, 15 Nov 2011 23:05:06 +0100
- Subject: RE: [RFA] Fix compilation of mingw64 with recent mingw64 header
- References: <email@example.com> <firstname.lastname@example.org>
> -----Message d'origine-----
> De?: email@example.com [mailto:gdb-patches-
> firstname.lastname@example.org] De la part de Tom Tromey
> Envoyé?: mardi 15 novembre 2011 19:03
> À?: Pierre Muller
> Cc?: email@example.com
> Objet?: Re: [RFA] Fix compilation of mingw64 with recent mingw64 header
> >>>>> "Pierre" == Pierre Muller <firstname.lastname@example.org>
> Pierre> Recent mingw64 header (at least on Cygwin)
> Pierre> have a macro definition for ETIMEDOUT inside include/errno.h
> Pierre> This leads to a warning and a compilation failure for the target.
> I think this was already fixed:
> 2011-10-28 Alen Skondro <email@example.com>
> * ser-tcp.c [USE_WIN32API] (ETIMEOUT): Don't define if already
> See the thread:
I was compiling an archer branch (archer-tromey-ambiguous-linespec)
because I wasn't able to apply the patch you sent to gdb-patches
cleanly to current CVS, and got this compilation error.
I forgot that I was not on the CVS repository and ssent the email
without checking that the problem was also present in CVS head.
By the way, there is a misspelling in the ChangeLog entry:
ETIMEOUT should be ETIMEDOUT. If fixed that one under Obvious rule.
Sorry for the noise,