[ODE] ODE on x86_64 machine

Daniel K. O. danielko.listas at gmail.com
Tue Feb 21 19:47:31 MST 2006


Alex Brown escreveu:
> I thought longs were supposed to always be 32 bit and the ints were 
> the ones that changed based on the architecture

According to ISO/IEC 9899:1999, a long int shall be at least 32 bit wide 
(5.4.2.4.1/1). Assuming that it's any wider is wrong. In the future it 
may even be 1024 bits, who knows?
The stdint.h header is there for a reason. And of course, build scripts 
help a lot in figuring the correct size. :P



---
Daniel K. O.



More information about the ODE mailing list