Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kenneth Carter

Pages: 1 [2]
16
General Discussion about just::thread / Beta 0.3 build errors
« on: November 19, 2008, 06:13:04 AM »
I followed the instructions for adding the include and lib to my path.

I created a console application x86. I then added the header <thread> and <mutex>

I had 6 build errors and 4 warnings.

Warning   1   
warning C4003: not enough actual parameters for macro 'min'   
c:\program files (x86)\justsoftwaresolutions\justthread\include\jss\config.hpp   282   Parallel
Warning   2   
warning C4003: not enough actual parameters for macro 'max'   
c:\program files (x86)\justsoftwaresolutions\justthread\include\jss\config.hpp   291   Parallel
Error   3   
error C2589: '(' : illegal token on right side of '::'   
c:\program files (x86)\justsoftwaresolutions\justthread\include\jss\config.hpp   291   Parallel
Error   4   
error C2059: syntax error : '::'   
c:\program files (x86)\justsoftwaresolutions\justthread\include\jss\config.hpp   291   Parallel
Warning   5   
warning C4003: not enough actual parameters for macro 'max'   
c:\program files (x86)\justsoftwaresolutions\justthread\include\jss\config.hpp   300   Parallel
Error   6   
error C2589: '(' : illegal token on right side of '::'   
c:\program files (x86)\justsoftwaresolutions\justthread\include\jss\config.hpp   300   Parallel
Error   7   
error C2059: syntax error : '::'   
c:\program files (x86)\justsoftwaresolutions\justthread\include\jss\config.hpp   300   Parallel
Warning   8   
warning C4003: not enough actual parameters for macro 'max'   
c:\program files (x86)\justsoftwaresolutions\justthread\include\jss\config.hpp   309   Parallel
Error   9   
error C2589: '(' : illegal token on right side of '::'   
c:\program files (x86)\justsoftwaresolutions\justthread\include\jss\config.hpp   309   Parallel
Error   10   
error C2059: syntax error : '::'   
c:\program files (x86)\justsoftwaresolutions\justthread\include\jss\config.hpp   309   Parallel

these errors occured with the <windows.h> header included with it removed I recieved 3 warnings
Warning   1   
warning C4146: unary minus operator applied to unsigned type, result still unsigned   
c:\program files (x86)\justsoftwaresolutions\justthread\include\cstdatomic   106   Parallel
Warning   2   
warning C4146: unary minus operator applied to unsigned type, result still unsigned   
c:\program files (x86)\justsoftwaresolutions\justthread\include\cstdatomic   106   Parallel
Warning   3   
warning C4146: unary minus operator applied to unsigned type, result still unsigned   
c:\program files (x86)\justsoftwaresolutions\justthread\include\cstdatomic   106   Parallel


I would appreciate any advice you may have on how to deal with these errors?

Kenneth

Pages: 1 [2]