[Insight-developers] itkIOCommon

Bill Hoffman bill.hoffman@kitware.com
Fri, 14 Mar 2003 10:51:47 -0500


I am not sure why we are getting this error.   My guess is an
include file order problem, or an interaction with some other
include file.   CMake does include unistd.h without a problem.

-Bill


At 09:26 AM 3/14/2003, Kent Williams wrote:
>I have been adding stuff to itkIOCommon and I'm sorry for any build breaks 
>that were my fault.  I have been looking at CMake/Source/cmTools, and it 
>supplies all the functions I can foresee needing for file system 
>manipulation, so simply borrowing it from Cmake would be fine with me.  
>
>One question about config -- according to
>
>http://www.itk.org/Testing/Sites/luria.uiowa/IRIX64_MIPSpro7.3.1.3m-DEBUG/20030314-0500-Nightly/BuildError.html
>
>Including unistd.h on SGI systems causes problems because of multiple function 
>signatures with "C" linkage for the select system call.  This is kind of 
>strange, since getcwd is only defined in unistd.h on the SGI.
>
>On Friday 14 March 2003 07:59 am, Bill Hoffman wrote:
>> Hi,
>>
>> I saw the new class itkIOCommon (because of the errors it was causing). 
>> This class looks almost the same in functionality as
>> CMake/Source/cmSystemTools.    Perhaps we should think about moving
>> cmSystemTools into Code/Common of ITK.   This class provides a set of
>> platform independent functions for file and string manipulation.
>>
>> At a minimum, it should be looked at for ideas in itkIOCommon.
>> We have this class working on more platforms and compilers than ITK right
>> now, so it should be safe to copy stuff out of this class.
>>
>>
>> -Bill
>>
>>
>>
>> _______________________________________________
>> Insight-developers mailing list
>> Insight-developers@public.kitware.com
>> http://public.kitware.com/mailman/listinfo/insight-developers
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers