[ODE] ODE on x86_64 machine
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".
> / h+
> ODE mailing list
> ODE at q12.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ODE