MinGW compilation warnings in libiberty's xstrndup.c

DJ Delorie dj@redhat.com
Fri May 19 22:28:00 GMT 2017


Eli Zaretskii <eliz@gnu.org> writes:
> It should use HAVE_STRNLEN instead, because that's the only
> strnlen-related macro defined in config.g when strnlen is probed by
> the configure script.

Ah, but gcc's configure defines HAVE_DECL_STRNLEN.  Header guards need
to be coordinated across all the users, not just libiberty.



More information about the Gcc-patches mailing list