This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug nptl/1102] pedantic warnings in pthreads headers
- From: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 Jul 2005 03:20:15 -0000
- Subject: [Bug nptl/1102] pedantic warnings in pthreads headers
- References: <20050718031857.1102.roland@gnu.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-18 03:20 -------
Subject: Bug 1102
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2_3-branch
Changes by: roland@sources.redhat.com 2005-07-18 03:20:10
Modified files:
nptl : Makefile
Log message:
2005-07-11 Jakub Jelinek <jakub@redhat.com>
[BZ #1102]
* sysdeps/pthread/pthread.h (PTHREAD_MUTEX_INITIALIZER,
PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP,
PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP,
PTHREAD_MUTEX_ADAPTIVE_NP, PTHREAD_RWLOCK_INITIALIZER,
PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP,
PTHREAD_COND_INITIALIZER): Supply zeros for all fields
in the structure.
* Makefile (tests): Add tst-initializers1.
(CFLAGS-tst-initializers1.c): Set.
* tst-initializers1.c: New test.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/Makefile.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.165.2.1&r2=1.165.2.2
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=1102
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.