MantisBT - ITK
View Issue Details
0008276ITKpublic2008-12-10 12:092010-11-17 20:57
Jeff Donner (2) 
Hans Johnson 
normalminoralways
closedwon't fix 
ITK-3-10 
 
backlog
0008276: 3.10.1 Compile error in itkSTLThreadTest.cxx : Runner() returning something when it's a void return type
InsightToolkit-3.10.1/Testing/Code/Common/itkSTLThreadTest.cxx:144: error: return-statement with a value, in function returning 'void'

ITK_THREAD_RETURN_TYPE Runner(void* infoIn)
{

// ... thread setup ...

#ifndef ITK_USE_SPROC
  return EXIT_SUCCESS;
#endif
}

I'm compiling without thread support:

CMAKE_USE_PTHREADS OFF

This is on Linux (Kubuntu 8.10) - I can get any other details you'd like.

GCC 4.3.2
No tags attached.
Issue History
2008-12-10 12:09Jeff Donner (2)New Issue
2010-11-02 13:31Hans JohnsonStatusnew => assigned
2010-11-02 13:31Hans JohnsonAssigned To => kentwilliams
2010-11-17 20:57Hans JohnsonSprint Status => backlog
2010-11-17 20:57Hans JohnsonNote Added: 0023370
2010-11-17 20:57Hans JohnsonStatusassigned => closed
2010-11-17 20:57Hans JohnsonAssigned Tokentwilliams => Hans Johnson
2010-11-17 20:57Hans JohnsonResolutionopen => won't fix

Notes
(0023370)
Hans Johnson   
2010-11-17 20:57   
This configuration can not be supported due to insufficient programmer resources.

The USE_SPROC code has been completely removed in ITKv4 as an unsupported option.