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