From: Pedro Alves <pedro@codesourcery.com>
To: asmwarrior <asmwarrior@gmail.com>
Cc: gdb-patches@sourceware.org, Alen Skondro <askondro@gmail.com>,
Xun Xun <xunxun1982@gmail.com>
Subject: Re: [PATCH] ETIMEDOUT already defined in mingw64 library
Date: Fri, 28 Oct 2011 14:02:00 -0000 [thread overview]
Message-ID: <201110281433.18932.pedro@codesourcery.com> (raw)
In-Reply-To: <4EAAAC48.6050209@gmail.com>
On Friday 28 October 2011 14:21:12, asmwarrior wrote:
> On 2011-10-28 21:12, asmwarrior wrote:
> > On 2011-10-28 16:50, Pedro Alves wrote:
> >> OOC, if you're getting an error, it's because it's defined
> >> to something different. What is is defined to?
> > In file:
> > i686-w64-mingw32\include\errno.h
> >
> > It was defined as below:
> >
> > /* Defined as WSAETIMEDOUT. */
> > #ifndef ETIMEDOUT
> > #define ETIMEDOUT 10060
> > #endif
Thanks.
> I'm not sure which header file does \gdb\ser-tcp.c use.
>
> So, it looks like all the ETIMEDOUT definition is actually the same value.
Alright. gcc complains because the definitions aren't textually the
same, even though they expand to the same. I've applied Alen's
patch, with this ChangeLog entry:
2011-10-28 Alen Skondro <askondro@gmail.com>
* ser-tcp.c [USE_WIN32API] (ETIMEOUT): Don't define if already
defined.
Thanks.
--
Pedro Alves
prev parent reply other threads:[~2011-10-28 13:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-28 2:09 Alen Skondro
2011-10-28 13:09 ` Pedro Alves
2011-10-28 13:18 ` asmwarrior
2011-10-28 13:33 ` asmwarrior
2011-10-28 14:02 ` Pedro Alves [this message]
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=201110281433.18932.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=askondro@gmail.com \
--cc=asmwarrior@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=xunxun1982@gmail.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox