This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug nptl/375] New: designated initializers not compatible with C++
- From: "rth at gcc dot gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Sep 2004 01:18:18 -0000
- Subject: [Bug nptl/375] New: designated initializers not compatible with C++
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
E.g.
# define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \
{ .__data = { .__kind = PTHREAD_MUTEX_RECURSIVE_NP } }
This definition isn't valid C++, nor can it be parsed by any version
of GNU C++ even as an extension.
This is a functionality regression from linuxthreads, which did not
use designated initializers.
--
Summary: designated initializers not compatible with C++
Product: glibc
Version: 2.3.3
Status: NEW
Severity: normal
Priority: P2
Component: nptl
AssignedTo: drepper at redhat dot com
ReportedBy: rth at gcc dot gnu dot org
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=375
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.