public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/375] New: designated initializers not compatible with C++
@ 2004-09-09 1:18 rth at gcc dot gnu dot org
2004-09-09 4:59 ` [Bug nptl/375] " drepper at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-09-09 1:18 UTC (permalink / raw)
To: glibc-bugs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug nptl/375] designated initializers not compatible with C++
2004-09-09 1:18 [Bug nptl/375] New: designated initializers not compatible with C++ rth at gcc dot gnu dot org
@ 2004-09-09 4:59 ` drepper at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: drepper at redhat dot com @ 2004-09-09 4:59 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2004-09-09 04:59 -------
I've some good suggestions what to do with those C++ "designers".
I changed the header, reluctantly.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-09 4:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-09 1:18 [Bug nptl/375] New: designated initializers not compatible with C++ rth at gcc dot gnu dot org
2004-09-09 4:59 ` [Bug nptl/375] " drepper at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).