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] | |
Hi,
On Fedora 9/ia32 and Fedora 9/Intel64, with gcc 4.3, I got
tst-initializers1.c:29: error: excess elements in struct initializer
tst-initializers1.c:31: error: excess elements in struct initializer
tst-initializers1.c:29: error: excess elements in struct initializer
tst-initializers1.c:31: error: excess elements in struct initializer
tst-initializers1.c:29: error: excess elements in struct initializer
tst-initializers1.c:31: error: excess elements in struct initializer
tst-initializers1.c:29: error: excess elements in struct initializer
tst-initializers1.c:31: error: excess elements in struct initializer
tst-initializers1.c:29: error: excess elements in struct initializer
tst-initializers1.c:31: error: excess elements in struct initializer
There are 11 fields in__data of pthread_rwlock_t. But thee are
12 elements in initializer. This patch fixes it.
--
H.J.
---
2008-06-11 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/pthread/pthread.h (PTHREAD_RWLOCK_INITIALIZER): Remove
excess element.
(PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
Attachment:
glibc-union-1.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |