This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14085] [3.4/3.5 Regression] when compiling template functors
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Feb 2004 09:40:47 -0000
- Subject: [Bug c++/14085] [3.4/3.5 Regression] when compiling template functors
- References: <20040209142828.14085.dds@aueb.gr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-12 09:40 -------
Here is the redux for the error message:
template <class Op>
bool asfun(Op f, Op::first_argument_type a, Op::second_argument_type b)
{
return Op(a, b);
}
pr14085.cc:2: error: `#`template_type_parm' not supported by dump_decl#<declaration
error>::first_argument_type' is not a type
pr14085.cc:2: error: `#`template_type_parm' not supported by dump_decl#<declaration
error>::second_argument_type' is not a type
pr14085.cc:3: error: ISO C++ forbids declaration of `a' with no type
pr14085.cc:3: error: ISO C++ forbids declaration of `b' with no type
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |3.4.0 3.5.0
Last reconfirmed|0000-00-00 00:00:00 |2004-02-12 09:40:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14085