This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] binutils: Fix warning on platforms that don't have asprintf()
- From: Alan Modra <amodra at gmail dot com>
- To: Sam Thursfield <sam dot thursfield at codethink dot co dot uk>
- Cc: binutils at sourceware dot org
- Date: Mon, 6 Mar 2017 11:46:28 +1030
- Subject: Re: [PATCH] binutils: Fix warning on platforms that don't have asprintf()
- Authentication-results: sourceware.org; auth=none
- References: <3fa3aab2-8b52-54c8-c2d4-8e8b092c9552@codethink.co.uk>
On Fri, Mar 03, 2017 at 02:14:35PM +0000, Sam Thursfield wrote:
> Fixes the following warning:
>
> nm.c: In function 'get_elf_symbol_type':
> nm.c:364:9: error: implicit declaration of function 'asprintf' [-Werror=implicit-function-declaration]
> n = asprintf (&bufp, _("<processor specific>: %d"), type);
> ^~~~~~~~
Thanks, committed.
--
Alan Modra
Australia Development Lab, IBM