just::thread Support Forum
September 10, 2010, 11:42:51 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: just::thread V1.4.1 for Windows and Linux Released
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Beta 0.3 build errors  (Read 1368 times)
Kenneth Carter
Beta Testers
Newbie
Posts: 18


View Profile
« 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
« Last Edit: November 19, 2008, 06:31:27 AM by Kenneth Carter » Logged
Anthony Williams
Administrator
Newbie
Posts: 46



View Profile WWW
« Reply #1 on: November 19, 2008, 08:08:07 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

these errors occured with the <windows.h> header included

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

Kenneth

Thanks for reporting the problem. Please replace <InstallDir>/include/jss/config.hpp with the version attached to this message. It will be included in beta 0.4, which will be out this week.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!