[ODE] ODE on Linux IA-64?
Michael Lacher
michael.lacher at hlw.co.at
Wed Feb 25 09:49:36 MST 2004
Artur Matos wrote:
> On Tue, 24 Feb 2004 14:48:36 +0100
> Michael Lacher <michael.lacher at hlw.co.at> wrote:
>
>
>>I guess this is due to the fact that pointers on 64bit architectures are
>>64 bit wide ? This means that all cases were pointers are cast to 32bit
>>integers (for user data in callbacks, etc ...) need to be checked (as is
>>done in the dALLOCA16 macro.
>
>
> Yes, I also guess that should be the problem. Unfortunately, I am not knowledgeable about ODE internals, so I would prefer not to change the code without some guidance. Also, currently the ALLOCA macros are being refactored, so maybe this will not be an issue in the next release. Maybe I should try to contact the programmer working on them?
>
> Artur Matos.
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
From what I saw, the pointer is only cast to/from an integer at this
location to do the alignment calculations. So if you just replace the
cast to int cast with an apropriate 64 bit integer cast (unsinged int64
??) you should remove the warnings without disturbing any code.
mucki
More information about the ODE
mailing list