[Insight-developers] Re: MacOS Warnings 64bits to 32bits truncation : At end of Files ???

Mathieu Coursolle mcoursolle at rogue-research.com
Mon Jan 28 10:24:35 EST 2008


Hi,

We've experienced such warnings in the past. From our investigations,
those warnings
usually come from headers included in that file. We've had issues in the
past with Apple
headers for example. I doubt that the problem is actually in the file
where it is reported.

Thanks.

Mathieu 

>I looked at the errors you reported in itkAnalyzeImageIO* -- are you sure
>the line numbers are right? Both line numbers are off the ends of the files.
>
>
>On 1/26/08 7:45 AM, "Luis Ibanez" <luis.ibanez at kitware.com> wrote:
>
>> HI Sean, Mathieu,
>> 
>> Something strange is happening with the warning from
>> 
>> 
>> http://www.itk.org/Testing/Sites/RogueResearch3/Mac10.5-InsightReview-
>gcc-dbg-
>> ppc64/20080126-0100-Nightly/BuildWarning.html
>> 
>> Many of them are indicating a:
>> 
>>     warning: implicit conversion shortens 64-bit value into a 32-bit value
>> 
>> 
>> in the two last lines of code of several classes.
>> 
>> For example:
>> 
>>     Code/IO/itkBioRadImageIO.cxx Line: 429
>>     Code/IO/itkBioRadImageIO.cxx Line: 430
>> 
>> This happens also with
>> 
>>   Code/IO/itkArchetypeSeriesFileNames.cxx Line: 263
>>   Code/IO/itkAnalyzeImageIOFactory.cxx Line: 56
>>   Code/IO/itkAnalyzeImageIO.cxx Line: 1538
>> 
>> 
>> ...and others...
>> 
>> 
>> Thanks for any hints,
>> 
>> 
>>     Luis
>> 
>> 
>> 
>> -----------------------------------
>------------------------------------------
>> On 1/25/08, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>>> 
>>> Hi Sean,
>>> 
>>> That's great news !
>>> 
>>> Thanks for fixing the Apple headers and enabling the CMake flag.
>>> 
>>> Yesterday's pass should have solved most of the warnings in
>>> Code/IO.  We will see what is remaining in tomorrow's Dashboard.
>>> 
>>> Then we probably would want to enable the flag in Code/Common.
>>> 
>>> 
>>>     Luis
>>> 
>>> 
>>> ---------------------
>>> Sean McBride wrote:
>>>> On 1/25/08 11:20 AM, Luis Ibanez said:
>>>> 
>>>> 
>>>>>   ITK_USE_64BITS_APPLE_TRUNCATION_WARNING
>>>>> 
>>>>> 
>>>>> You will find it in the Advanced options, once you update
>>>>> your checkout of ITK.
>>>>> 
>>>>> Please enable this CMake flag on the machines where you
>>>>> want this warning to be used.
>>>> 
>>>> 
>>>> We have enabled this on our Mac10.5-InsightReview-gcc-dbg-ppc and
>>>> Mac10.5-InsightReview-gcc-dbg-ppc64 dashboards.  Each builds only one
>>>> architecture which will reduce the duplicate warnings seen elsewhere.
>>>> One is 32 bit only and one 64 bit only, each will have different sets of
>>>> warnings.  Also, we have fixed all the warnings from Apple's headers.
>>>> 
>>> 
>> _______________________________________________
>> Insight-developers mailing list
>> Insight-developers at itk.org
>> http://www.itk.org/mailman/listinfo/insight-developers
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers at itk.org
>http://www.itk.org/mailman/listinfo/insight-developers
>



More information about the Insight-developers mailing list