[Insight-developers] Re: [Insight-users] Tiger OSX

Brad King brad.king at kitware.com
Tue May 24 08:51:15 EDT 2005


Zachary Pincus wrote:
>> The "quick" solution is to avoid use of the inline version of the 
>> symbol by using these lines instead:
>>
>> #if defined(__APPLE__)
>> # include <math.h>
>> # define isnan(x) __isnand((double)x)
>> #endif
>>
> 
> Should this go into the ITK version of vnl_math? Or should this just be 
> a "local" fix for people to apply on their own until a better solution 
> appears?

Please try it locally.  If it works I will put it in ITK's vnl_math and 
then report the results to the VXL community.  If they agree with the 
fix I'll put it in VXL upstream so that ITK will get the change next 
time its VNL is upgraded.

Thanks,
-Brad


More information about the Insight-users mailing list