From: Hubert F. <hfi...@te...> - 2007-06-26 00:55:33
|
Jan Patera wrote: > 4) However, I do know that 4=sizeof(int)<sizeof(long)=8 on 64bit > Windows, but 8=sizeof(int)=sizeof(long)=8 on 64bit Mac OS. > We have not declared 64bit support yet, but we will have to do so > very soon. On Linux x86_64 sizeof(int) == 4 sizeof(long) == 8 sizeof(void*) == 8 On Linux x86 and ppc sizeof(int) == 4 sizeof(long) == 4 sizeof(void*) == 4 > 5) sizeof(int) indeed is not the same as sizeof(void*). Never should me assumed. > 6) Q: do we still have to bother with 16bit int? Yes it can be useful. #include <stdint.h> and be done with one. There is one retarded platform that have to work around it. For the rest we have configure. Hub |