Posted By: Korusef (zmatek nad zmatek) on 'CZprogram' Title: g++ & C++ Date: Tue Jan 14 00:31:45 2003 Ahoj pouzivam g++ verzi 3.2.1. A prekladac mi hlasi tuto chybu: cannot call member function ` size_t TRandClass::GetRandom(unsigned int) const' without object Inkriminovana cast pritom vypada takto: GetRandom( mServer->Akce_size()); A ten mServer je: T_server* mServer; Cela tahle cast je uvnitr template tridy, jeji jeden atribut je i ten T_server. Netusim, kde mam chybu, ve 2.96 mi to fungovalo. Korusef[ Libor Dener] (-: CauCau :-)