This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14085] [3.4/3.5 Regression] when compiling template functors


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]