This is the mail archive of the
gdb-patches@sourceware.org
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: <10271.2783882909$1321377821@news.gmane.org> <m3y5vhl0v2.fsf@fleche.redhat.com>
> -----Message d'origine-----
> De?: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Tom Tromey
> Envoyé?: mardi 15 novembre 2011 19:03
> À?: Pierre Muller
> Cc?: gdb-patches@sourceware.org
> Objet?: Re: [RFA] Fix compilation of mingw64 with recent mingw64 header
>
> >>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr>
writes:
>
> 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 <askondro@gmail.com>
>
> * ser-tcp.c [USE_WIN32API] (ETIMEOUT): Don't define if already
> defined.
>
> See the thread:
>
> http://sourceware.org/ml/gdb-patches/2011-10/threads.html#00753
Whoops, sorry...
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,
Pierre