This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Missing includes


On Tue, Oct 18, 2011 at 06:02, Andreas Jaeger <aj@suse.com> wrote:
> Compiling current glibc on x86, I saw these warnings:
>
> nss_db/db-initgroups.c: In function '_nss_db_initgroups_dyn':
> nss_db/db-initgroups.c:60:3: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]

I don't see these.

> In file included from ../nptl/sysdeps/i386/tls.h:29:0,
> Â Â Â Â Â Â Â Â from ../sysdeps/i386/i486/bits/atomic.h:21,
> Â Â Â Â Â Â Â Â from ../include/atomic.h:51,
> Â Â Â Â Â Â Â Â from ../nscd/nscd-client.h:30,
> Â Â Â Â Â Â Â Â from ../nscd/nscd.h:31,
> Â Â Â Â Â Â Â Â from nss_db/db-init.c:21:
> ../nptl/sysdeps/pthread/list.h: In function 'list_add':
> ../nptl/sysdeps/pthread/list.h:64:3: warning: implicit declaration of function 'atomic_write_barrier ' [-Wimplicit-function-declaration]

This is fixed now.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]