[ODE] ODE on x86_64 machine
Alex Brown
abrown28 at gmail.com
Tue Feb 21 10:37:40 MST 2006
I thought longs were supposed to always be 32 bit and the ints were the ones
that changed based on the architecture
On 2/21/06, Jon Watte (ODE) <hplus-ode at mindcontrol.org> wrote:
>
>
>
> Simon Su wrote:
>
> > ODE source code will compile on x86_64 with just
> > editing the file ode/test/test_space.cpp, in line 127
> > and 128, by changing int to long.
>
> If you're making 64-bit edits, I suggest using a specific ptr_int type
> (such as size_t or ssize_t) rather than "long". Microsoft, in their
> infinite wisdom, decided that "long" is 32 bits even on 64-bit
> platforms, breaking all existing lp64 code :-(
>
> > Is there a type that I can change udword to for x86_64
> > to compile just like the int to long change?
>
> Someone looked at this a while back, and got reasonable results, IIRC.
> You may want to search the list archives for "udword" and "opcode".
>
> Cheers,
>
> / h+
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://q12.org/pipermail/ode/attachments/20060221/9e44c66b/attachment.htm
More information about the ODE
mailing list