public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30837] New: typeof fails
@ 2007-02-17 19:56 igodard at pacbell dot net
2007-02-17 20:02 ` [Bug c++/30837] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2007-02-17 19:56 UTC (permalink / raw)
To: gcc-bugs
struct foo{ typedef int bar; };
int main() {
foo f;
typeof(f)::bar i = 0;
return 0;
}
gets you:
~/ootbc/sim/test$ g++ foo.cc
foo.cc: In function 'int main()':
foo.cc:4: error: expected initializer before 'i'
--
Summary: typeof fails
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: igodard at pacbell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30837
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/30837] typeof fails
2007-02-17 19:56 [Bug c++/30837] New: typeof fails igodard at pacbell dot net
@ 2007-02-17 20:02 ` pinskia at gcc dot gnu dot org
2007-02-17 20:50 ` igodard at pacbell dot net
2007-02-17 23:34 ` bangerth at dealii dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-17 20:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-02-17 20:02 -------
*** This bug has been marked as a duplicate of 6709 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30837
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/30837] typeof fails
2007-02-17 19:56 [Bug c++/30837] New: typeof fails igodard at pacbell dot net
2007-02-17 20:02 ` [Bug c++/30837] " pinskia at gcc dot gnu dot org
@ 2007-02-17 20:50 ` igodard at pacbell dot net
2007-02-17 23:34 ` bangerth at dealii dot org
2 siblings, 0 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2007-02-17 20:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from igodard at pacbell dot net 2007-02-17 20:50 -------
Not fixed for four years? How come?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30837
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/30837] typeof fails
2007-02-17 19:56 [Bug c++/30837] New: typeof fails igodard at pacbell dot net
2007-02-17 20:02 ` [Bug c++/30837] " pinskia at gcc dot gnu dot org
2007-02-17 20:50 ` igodard at pacbell dot net
@ 2007-02-17 23:34 ` bangerth at dealii dot org
2 siblings, 0 replies; 4+ messages in thread
From: bangerth at dealii dot org @ 2007-02-17 23:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from bangerth at dealii dot org 2007-02-17 23:33 -------
(In reply to comment #2)
> Not fixed for four years? How come?
No volunteers to fix it? Not an important bug that bothers many people?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30837
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-17 23:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-17 19:56 [Bug c++/30837] New: typeof fails igodard at pacbell dot net
2007-02-17 20:02 ` [Bug c++/30837] " pinskia at gcc dot gnu dot org
2007-02-17 20:50 ` igodard at pacbell dot net
2007-02-17 23:34 ` bangerth at dealii dot org
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).