>>> 1. Why SizeOf(integer) = 2 for ARM?
>>
>> The size depends on the compiler mode. For objfpc and delphi modes it is
>> 4.
>
> Yes this is due compiler mode.
> Another question. Is it correct to keep SizeOf(integer)=2 in default fpc
> mode when most of current processors are 32bit and 64bit is coming?

Yes. To be backwards compatible with old fpc versions we can't change the
default mode to objfpc.




_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to