[Bug c++/31267] #'typename_type' not supported by dump_decl#declaration error
--- Comment #3 from gdr at cs dot tamu dot edu 2007-03-22 15:29 --- Subject: Re: #'typename_type' not supported by dump_decl#declaration error guillaume dot melquiond at ens-lyon dot fr [EMAIL PROTECTED] writes: | I just encountered another instance of a missing typename diagnostic. This time | with a different message, so I add it here for completeness: | | a.cpp:5: error: dependent-name ÂT::#Âtypename_type not supported by | pp_cxx_unqualified_id#::D is parsed as a non-type, but instantiation yields a | type | a.cpp:5: note: say Âtypename T::#Âtypename_type not supported by | pp_cxx_unqualified_id#::D if a type is meant I have a fix for this one. It is not the same issue as your original report. -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31267
[Bug c++/31267] #'typename_type' not supported by dump_decl#declaration error
--- Comment #4 from gdr at gcc dot gnu dot org 2007-03-23 03:04 --- ttp://gcc.gnu.org/ml/gcc-patches/2007-03/msg01513.html -- gdr at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31267
[Bug c++/31267] #'typename_type' not supported by dump_decl#declaration error
--- Comment #1 from guillaume dot melquiond at ens-lyon dot fr 2007-03-20 11:22 --- I just encountered another instance of a missing typename diagnostic. This time with a different message, so I add it here for completeness: a.cpp:5: error: dependent-name T::#typename_type not supported by pp_cxx_unqualified_id#::D is parsed as a non-type, but instantiation yields a type a.cpp:5: note: say typename T::#typename_type not supported by pp_cxx_unqualified_id#::D if a type is meant Testcase: templateclass T struct A { typedef typename T::B C; void f() { C::D(); } }; struct U { struct B { struct D {}; }; }; void g() { AU().f(); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31267
[Bug c++/31267] #'typename_type' not supported by dump_decl#declaration error
--- Comment #2 from pcarlini at suse dot de 2007-03-20 11:45 --- Related to C++/30982? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31267