Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Calcoen <Daniel.Calcoen@cern.ch>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: sim/rx/gdb-if.c variable name collision
Date: Wed, 14 Jan 2015 21:32:00 -0000	[thread overview]
Message-ID: <46996EF9723066478746F941CF170BB8D7870402@CERNXCHG44.cern.ch> (raw)
In-Reply-To: <46996EF9723066478746F941CF170BB8D78703EB@CERNXCHG44.cern.ch>

I built binutils (from master) for linux without problems.

When I try to build the same source/target but now using x64-mingw32 I get a name collision with a local variable name “open” declared in line 64 of/sim/rx/gdb-if.c,

used in lines 64,82 and 101.


Could this variable be renamed? And commited?


Once renamed the compilation went fine.

I'm not aware of the naming conventions used by gdb people this is why I didn't propose a patch.

Daniel


       reply	other threads:[~2015-01-14 21:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <46996EF9723066478746F941CF170BB8D78703EB@CERNXCHG44.cern.ch>
2015-01-14 21:32 ` Daniel Calcoen [this message]
2015-01-15  3:27   ` Joel Brobecker

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=46996EF9723066478746F941CF170BB8D7870402@CERNXCHG44.cern.ch \
    --to=daniel.calcoen@cern.ch \
    --cc=gdb-patches@sourceware.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox