This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: more ISOifying of libiberty
DJ Delorie <dj@redhat.com> writes:
> Under the assumption that "ANSI compiler" implies "stddef.h is
> available", OK. I think the only "upgrade" we've made to libiberty's
> requirements it that an ANSI compiler is now required, but we haven't
> gone any further with what types of headers we require.
>
> Ideally, we could use HAVE_STDDEF_H for that particular header, but
> I'm guessing we can assume it exists. Ian?
I think we can assume that stddef.h always exists for an ISO C
compiler. Particularly since libiberty/argv.c, which we always
compile, includes stddef.h unconditionally.
Ian