[Insight-developers] Windows 64 bits & unsigned long
Luis Ibanez
luis.ibanez at kitware.com
Thu Nov 12 09:13:09 EST 2009
Sean,
Excellent idea.
Yes, have an Experimental will this flag on will be useful.
(I'll set up one in thurmite.kitware too, so we have two
points of reference).
Also, I'll search for an equivalent flag for VS9.
Thanks,
Luis
-----------------------------------------------------------------------------------
On Wed, Nov 11, 2009 at 12:51 PM, Sean McBride <sean at rogue-research.com> wrote:
> On 11/11/09 12:36 PM, Luis Ibanez said:
>
>>It seems to be a good time to resume the effort
>>for fixing the use of integers in Windows 64 bits.
>>
>> *SNIP*
>>
>>Any suggestions on how to go about it in an efficient way ?
>
> Perhaps during this work, it would be beneficial to enable gcc's -
> Wshorten-64-to-32 warning? Alas, last I checked, the warning exists
> only in Apple's fork of gcc. I imaging Windows compilers have a similar
> option. This warning would warn on the following for example:
>
> unsigned int size = sizeof (foo);
>
> If you're going to change the size/type of many variables, it seems like
> the time.
>
> We could provide an experimental nightly with this on.
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng sean at rogue-research.com
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
>
More information about the Insight-developers
mailing list