[Insight-developers] itkSTLThreadTest with IRIX sproc

Joshua Cates cates@sci.utah.edu
Wed, 16 Apr 2003 10:29:39 -0600 (MDT)


Hi,

When building itkSTLThreadTest.cxx on IRIX with sproc, 
ITK_THREAD_RETURN_TYPE is #define'd to void.  This causes the following 
error



Building object file itkSTLThreadTest.o...
cc-1117 CC: ERROR File = 
/home/sci/cates/Insight/Testing/Code/Common/itkSTLThreadTest.cxx, Line = 
109
  An expression appears after a "return" in a "void" function.

    return 0;
           ^

1 error detected in the compilation of 
"/home/sci/cates/Insight/Testing/Code/Common/itkSTLThreadTest.cxx".




I don't know if this is a problem with the multithreader code or with the
test.  Can someone more familiar with the multithreader code have a look a
this?

Thanks,

Josh.



______________________________
 Josh Cates			
 School of Computer Science	
 University of Utah
 Email: cates@sci.utah.edu
 Phone: (801) 587-7697
 URL:   http://www.sci.utah.edu/~cates