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

Reply via email to