This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug nptl/1102] New: pedantic warnings in pthreads headers
- From: "roland at 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:18:58 -0000
- Subject: [Bug nptl/1102] New: pedantic warnings in pthreads headers
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
This trunk patch should go into the 2.3 branch:
2005-07-11 Jakub Jelinek <jakub@redhat.com>
* 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.
--
Summary: pedantic warnings in pthreads headers
Product: glibc
Version: 2.3.5
Status: NEW
Severity: normal
Priority: P2
Component: nptl
AssignedTo: roland at gnu dot org
ReportedBy: roland at gnu dot org
CC: glibc-bugs at sources dot redhat dot com
OtherBugsDependingO 852
nThis:
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.