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.