>>>>> Laurent Bonnaud <bonnaud@irisa.fr> writes: > 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); > } You need to say 'typename T::type'. Jason