Error compiling thr_lqueue.cc
ti008977 at tiscali.nl
ti008977 at tiscali.nl
Thu May 17 08:23:38 CEST 2007
Hi all,
Im trying to compile using the microsoft express 2005 compiler.
In thr_lqueue.cc I found this code:
int ThreadQueue::getRunnableNumber()
{
ThreadQueueIterator iter(this);
int ret=0;
Thread**ptr;
while (ptr=iter.getNext()) ret=(*ptr)->getRunnableNumber();
return ret;
}
ptr can't be converted to iter.getNext(); but *ptr can.
Then I get stuck at getRunnableNumber(), which is no part of Thread,
but of ThreadsPool. It might, of course, also be recursive.
Can anyone give me a clue?
Cheers,
Evert
More information about the mozart-hackers
mailing list