I looked more closely and it turns out I was wrong, in a way.
csutil.h includes csutil/threadjobqueue.h which in turn includes
csutil/threading/thread.h
It doesn't hurt to include it explicitly from csutil.h though, obviously.
Anyway, it seems this was not the cause of Jim's problem :/
Eric Sunshine wrote:
> The csutil.h master header has been corrected in the SVN repository.
>
> -- ES
>
> On May 28, 2007, at 3:23 PM, Mathew Sutcliffe wrote:
>
>
>>It seems the header file csutil.h (and thus the master header file
>>crystalspace.h) don't #include "csutil/threading/thread.h".
>>
>>Can a dev say whether this should be the case?
>>
>>For now you could just add the include directive to simpmap yourself.
>>
>>Jim Sager wrote:
>>
>>>using namespace CS::Threading; //line 25
>>>
>>>class MyRunner : Runnable //line 28
>>>
>>>apps/tutorial/simpmap/simpmap.cpp:25: error: ‘Threading’ is not a
>>>namespace-name
>>>apps/tutorial/simpmap/simpmap.cpp:25: error: expected namespace-name
>>>before ‘;’ token
>>>apps/tutorial/simpmap/simpmap.cpp:28: error: expected class-name
>>>before
>>>‘{’ token
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]