Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <kettenis@chello.nl>
To: drow@mvista.com
Cc: gdb-patches@sources.redhat.com, binutils@sources.redhat.com,
	gcc-patches@gcc.gnu.org
Subject: Re: [libiberty and gdb] floatformat_is_valid
Date: Mon, 15 Sep 2003 21:52:00 -0000	[thread overview]
Message-ID: <200309152152.h8FLqUqN007566@elgar.kettenis.dyndns.org> (raw)
In-Reply-To: <20030915143933.GA22129@nevyn.them.org> (message from Daniel Jacobowitz on Mon, 15 Sep 2003 10:39:33 -0400)

   Date: Mon, 15 Sep 2003 10:39:33 -0400
   From: Daniel Jacobowitz <drow@mvista.com>

   2003-09-15  Daniel Jacobowitz  <drow@mvista.com>

	   * floatformat.h (floatformat_is_valid): Add prototype.

   2003-09-15  Daniel Jacobowitz  <drow@mvista.com>

	   * floatformat.c (floatformat_is_valid): New function.
	   (get_field, put_field): Correct comments.

   2003-09-15  Daniel Jacobowitz  <drow@mvista.com>

	   * values.c (unpack_double): Call floatformat_is_valid.


There's a problem with cons-correctness :-(.

gcc -c -g -O2    -I. -I../../src/gdb -I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode -I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd  -I../../src/gdb/../include -I../intl -I../../src/gdb/../intl  -DMI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Werror ../../src/gdb/values.c
cc1: warnings being treated as errors
../../src/gdb/values.c: In function `unpack_double':
../../src/gdb/values.c:744: warning: passing arg 2 of `floatformat_is_valid' discards qualifiers from pointer target type
gmake[1]: *** [values.o] Error 1
gmake[1]: Leaving directory `/usr/home/kettenis/sandbox/gdb/obj/gdb'
gmake: *** [all-gdb] Error 2

Could you fix that please?

Mark


  parent reply	other threads:[~2003-09-15 21:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-15 14:39 Daniel Jacobowitz
2003-09-15 17:57 ` DJ Delorie
2003-09-15 20:33 ` Daniel Jacobowitz
2003-09-15 20:54 ` Andrew Cagney
2003-09-15 20:58   ` Daniel Jacobowitz
2003-09-15 21:04     ` Andrew Cagney
2003-09-15 21:48       ` DJ Delorie
2003-09-16  2:57     ` Andrew Cagney
2003-09-16  3:10       ` DJ Delorie
2003-09-22 17:43       ` Andrew Cagney
2003-09-15 21:22 ` Andrew Cagney
2003-09-15 21:52 ` Mark Kettenis [this message]
2003-09-18 20:31 ` Daniel Jacobowitz
2003-09-18 22:59   ` Andrew Cagney
2003-09-21 19:11     ` Daniel Jacobowitz

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=200309152152.h8FLqUqN007566@elgar.kettenis.dyndns.org \
    --to=kettenis@chello.nl \
    --cc=binutils@sources.redhat.com \
    --cc=drow@mvista.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb-patches@sources.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