Fix locale/weight.h with GCC 3.5

Roland McGrath roland@redhat.com
Tue Sep 7 08:02:00 GMT 2004


> On Monday 06 September 2004 23:21, Roland McGrath wrote:
> > > This is a mess - if I change elf/dynamic-link.h in a similar way (see
> > > below) I finally get:
> >
> > dynamic-link.h is used at different scopes in different places.
> > You can just make the use of static conditional on #ifndef RTLD_BOOTSTRAP.
> 
> Does not seem to help - we include it twice in local scope:
> Once in rtld.c where this helps and once in dl-load.c where it won't help :-(

In dl-load.c, dynamic-link.h is used only at global scope.



More information about the Libc-hacker mailing list