Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] Fix warnings using gcc-4.5 HEAD
Date: Sat, 11 Jul 2009 20:58:00 -0000	[thread overview]
Message-ID: <20090711190235.GA4388@caradoc.them.org> (raw)
In-Reply-To: <20090711082502.GA18801@host0.dyn.jankratochvil.net>

On Sat, Jul 11, 2009 at 10:25:02AM +0200, Jan Kratochvil wrote:
> Hi,
> 
> currently GDB CVS HEAD cannot be built with gcc SVN HEAD
> gcc (GCC) 4.5.0 20090711 (experimental)
> 
> ada-lang.c: In function ‘ada_attribute_name’:
> ada-lang.c:7501:9: error: comparison between ‘enum exp_opcode’ and ‘enum ada_operator’

In general, I've been advised that variables affected by this:

> dwarf2read.c: In function ‘dwarf2_name’:
> dwarf2read.c:8513:22: error: comparison between ‘enum dwarf_form’ and ‘enum <anonymous>’

Should actually use int variables since they aren't really of a single
enum's type.

I really don't like this warning, though.

-- 
Daniel Jacobowitz
CodeSourcery


      parent reply	other threads:[~2009-07-11 19:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-11  8:39 Jan Kratochvil
2009-07-11  8:46 ` Mark Kettenis
2009-07-11  9:25   ` Jan Kratochvil
2009-07-11 12:09     ` Eli Zaretskii
2009-07-11 19:02       ` Jan Kratochvil
2009-07-30  0:28         ` Tom Tromey
2009-09-08 18:52           ` Jan Kratochvil
2009-09-10  1:48             ` Joel Brobecker
2009-09-10  7:29               ` Jan Kratochvil
2009-09-15 16:11                 ` Jan Kratochvil
2009-07-11  9:32   ` Eli Zaretskii
2009-07-11 20:58 ` Daniel Jacobowitz [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=20090711190235.GA4388@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.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