[Insight-developers] __int64 NumericTraits and Borland

Bill Lorensen bill.lorensen at gmail.com
Tue Nov 24 08:44:31 EST 2009


Brad,

That sound like the best approach. Can't say we didn't try.

Thanks,

Bill

On Tue, Nov 24, 2009 at 8:41 AM, Bradley Lowekamp
<blowekamp at mail.nih.gov> wrote:
> Bill,
>
> I can not find another system which has __int64 has a fundamental type. Can you?
>
> VS6 does, but there is a bug which makes it not convertible to double, and  therefor not useable.
>
> If this is the case, we might as well just not support __int64 in the numeric traits. This means deleting the detection in the CMake and the numeric traits I just added.
>
>
> Brad
>
> On Nov 24, 2009, at 8:36 AM, Bill Lorensen wrote:
>
>> Brad,
>>
>> I tried several things to get the NumericTraits<__int64> to work
>> properly on Borland. No luck.
>>
>> I suggest that we modify itkConfigure.h.in as follows:
>>
>> #ifndef __BORLANDC__
>> #cmakedefine ITK_TYPE_USE___INT64
>> #endif
>>
>> If you agree, I'll check it in,
>>
>> Bill
>
>


More information about the Insight-developers mailing list