This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Missing includes
- From: Ulrich Drepper <drepper at gmail dot com>
- To: Andreas Jaeger <aj at suse dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sun, 23 Oct 2011 16:33:09 -0400
- Subject: Re: Missing includes
- References: <201110181202.49314.aj@suse.com>
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.