Re: [hatari-devel] Usage of long long data type?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


> I guess that the regular long type is not sufficient on all systems
> supported by Hatari if I need a 64 bit data type?

No it isnt. plain "long" on Windows e.g. is 32 bit, even on 64-bit systems. There might also other be 32-bit targets (Arm maybe? not sure)..  Another thing to note is that "long long" is not supported by older MSVC versions (just in case somebody uses it).
Btw. if you need a type that is *exactly* 64bit, you should consider using stdint.h and int64_t/uint64_t instead,





Uwe Seimet <Uwe.Seimet@xxxxxxxxx> schrieb am 20:09 Montag, 2.November 2015:




Hi all,

there are some source files that use the long long data type. So if I
contribute code which uses long long this would not be a problem, would
it?
I guess that the regular long type is not sufficient on all systems
supported by Hatari if I need a 64 bit data type?

Take care

Uwe






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/