[MINC-development] compiler warnings when building in 2.0.18
Sean McBride
sean at rogue-research.com
Tue Jun 23 13:33:29 EDT 2009
On 6/23/09 12:19 AM, Andrew Janke said:
>> Building MINC 2.0.18 in 64bit I notice several serious/legit warnings:
>>
>> libsrc/ParseArgv.c: In function 'ParseArgv':
>> libsrc/ParseArgv.c:177: warning: cast from pointer to integer of
>> different size
>> ...
>>
>> I'd offer a patch, but I'm not 100% sure about how this code works.
>
>Can't remember if I responded to this directly but the answer is by
>all means. ParseArvg is a bit of a hairy goat that has been beaten
>into submission multiple times with 32->64bit changes. We really
>should have switched to something like popt by now but old habits are
>hard to break.
It does look hairy. :) I daren't attempt a fix, I just wanted to report
it to you.
--
____________________________________________________________
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 MINC-development
mailing list