[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: address coreutils' gcc9 build failures
From: |
Pádraig Brady |
Subject: |
Re: FYI: address coreutils' gcc9 build failures |
Date: |
Sun, 24 Jun 2018 16:20:06 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
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 ?
cheers,
Pádraig