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]

egcs bug -> parse error



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.


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