make fails on master

John Ralls jralls at ceridwen.us
Sun Jun 7 16:34:08 EDT 2015


> On Jun 7, 2015, at 12:38 PM, Derek Atkins <derek at ihtfp.com> wrote:
> 
> 
> On Sun, June 7, 2015 3:02 pm, John Ralls wrote:
> 
>> Alex,
>> 
>> Turns out that for some flavors of GCC -std=gnu99 is required for strdup
>> to be provided. I’d made the default c99, which in those cases doesn’t
>> support it, hence the error.
>> 
>> Fixed and pushed.
> 
> Why are we using strdup() and not g_strdup()?

Oversight? It’s used in several places. The earliest I found was a5d4c7cf from 2004.

Regards,
John Ralls




More information about the gnucash-devel mailing list