This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Should we optimize memset to bzero?
> Date: Fri, 2 Nov 2001 20:05:28 +0100
> From: "Martin v. Loewis" <martin@v.loewis.de>
>
> > I've previously suggested an implicitly included <stdc-macros.h>
> > header that GCC would automatically include (if it exists) before
> > every translation unit in order to define __STDC_ISO_10646__
> > (which describes library properties that change with the glibc
> > version, but must be constant throughout the translation unit
> > rather than just after some standard header has been included)
> > properly.
>
> Wouldn't it be better to determine features of the C library at
> gcc configuration time?
No, because glibc can be upgraded after gcc is configured,
and it's better to decouple the two packages as much as possible.