coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: address coreutils' gcc9 build failures


From: Jim Meyering
Subject: Re: FYI: address coreutils' gcc9 build failures
Date: Sun, 24 Jun 2018 16:57:21 -0700

On Sun, Jun 24, 2018 at 4:20 PM, Pádraig Brady <address@hidden> wrote:
> On 24/06/18 16:10, Jim Meyering wrote:
>> +/* Without this pragma, gcc version 9.0.0 20180616 suggests that
>> +   the canon_* functions might be candidateifor attribute 'malloc'  */
>> +#if 9 <= __GNUC__
>> +# pragma GCC diagnostic ignored "-Wsuggest-attribute=malloc"
>> +#endif
>
> typo in candidatefor
>
> These functions basically wrap strdup() so would seem like
> it would be valid to tag them with _GL_ATTRIBUTE_MALLOC ?

Indeed. Thanks!
Pushing your suggested fix momentarily.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]