egcs bug -> parse error

Laurent Bonnaud bonnaud@irisa.fr
Wed Sep 10 07:59:00 GMT 1997


Hi,

the following code does not compile with egcs-2.90.06 :

template<class T>
void f(const T& t, void* p)
{
  t.g((T::type)p);
}

bug.cc: In function `void f(const T &, void *)':
bug.cc:4: parse error before `)'

-- 
Laurent.



More information about the Gcc-bugs mailing list