Re: [PATCH] libiberty: Only declare vasprintf if it was checked for

2019-04-26 Thread Jeff Law
On 4/24/19 7:29 AM, Ian Lance Taylor via gcc-patches wrote: > On Mon, Apr 22, 2019 at 11:51 PM Michael Forney wrote: >> >> This matches how the the rest of the libc functions are declared and >> prevents a potential conflict with the system declaration when libiberty.h >> is included from a direct

Re: [PATCH] libiberty: Only declare vasprintf if it was checked for

2019-04-24 Thread Ian Lance Taylor via gcc-patches
On Mon, Apr 22, 2019 at 11:51 PM Michael Forney wrote: > > This matches how the the rest of the libc functions are declared and > prevents a potential conflict with the system declaration when libiberty.h > is included from a directory that did not check for vasprintf, but it is > available. It al

[PATCH] libiberty: Only declare vasprintf if it was checked for

2019-04-22 Thread Michael Forney
This matches how the the rest of the libc functions are declared and prevents a potential conflict with the system declaration when libiberty.h is included from a directory that did not check for vasprintf, but it is available. It also corresponds to a similar previous change for asprintf (r223589)