On Wednesday 06 November 2013 12:41:25 Ivanko B wrote:
> {$if CPUSIZE=64}
>  integer = sint64;
> {$else}
>  integer = sint32;
> {$endif}
> ==============================
> It's the deal of compiler swicthes which should be done automatically
> by build environment.
>
You miss the point. In FPC one has to make typedefs in order to have known 
size types. I think it should be the opposite, make typedefs if you want 
platform dependent sizes. In daily work the size of the base types should be 
unambiguously visible. I often need to check if smallint is smaller than 
shortint. ;-)

Martin

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to