public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Hans-Peter Nilsson <hp@bitrange.com>,
	gdb-patches@sourceware.org,        binutils@sourceware.org
Subject: Re: Build regression on 32-bit hosts  [Re: [PATCH] fix PR symtab/15597]
Date: Wed, 09 Oct 2013 15:46:00 -0000	[thread overview]
Message-ID: <87pprecurr.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20131009145403.GA8005@host2.jankratochvil.net> (Jan Kratochvil's	message of "Wed, 9 Oct 2013 16:54:03 +0200")

>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> opncls.c: In function ‘get_alt_debug_link_info_shim’:
Jan> opncls.c:1485:3: error: passing argument 2 of ‘bfd_get_alt_debug_link_info’ from incompatible pointer type [-Werror]
Jan> opncls.c:1211:1: note: expected ‘bfd_size_type *’ but argument is of type ‘size_t *’

I see my BFD record still stands.

Here's a follow-up.

Tom

2013-10-09  Tom Tromey  <tromey@redhat.com>

	* opncls.c (get_alt_debug_link_info_shim): Update type of 'len'.

Index: opncls.c
===================================================================
RCS file: /cvs/src/src/bfd/opncls.c,v
retrieving revision 1.84
diff -u -r1.84 opncls.c
--- opncls.c	9 Oct 2013 14:26:26 -0000	1.84
+++ opncls.c	9 Oct 2013 15:45:36 -0000
@@ -1480,7 +1480,7 @@
 static char *
 get_alt_debug_link_info_shim (bfd * abfd, unsigned long *crc32_out)
 {
-  size_t len;
+  bfd_size_type len;
   bfd_byte *buildid = NULL;
   char *result = bfd_get_alt_debug_link_info (abfd, &len, &buildid);
 

      reply	other threads:[~2013-10-09 15:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-08 17:37 [PATCH] fix PR symtab/15597 Tom Tromey
2013-08-10  5:36 ` Alan Modra
2013-08-12  8:41   ` Tom Tromey
2013-08-12  9:29     ` Alan Modra
2013-08-14 11:25 ` nick clifton
2013-10-08 19:38 ` Tom Tromey
2013-10-08 22:10   ` Hans-Peter Nilsson
2013-10-09  1:27     ` Tom Tromey
2013-10-09 14:09       ` Tom Tromey
2013-10-09 14:54         ` Build regression on 32-bit hosts [Re: [PATCH] fix PR symtab/15597] Jan Kratochvil
2013-10-09 15:46           ` Tom Tromey [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=87pprecurr.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=binutils@sourceware.org \
    --cc=gdb-patches@sourceware.org \
    --cc=hp@bitrange.com \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).