|
|
[also replying to warp]
Thorsten Froehlich wrote:
>
> > What is common agreement?
>
> You did check out the link, didn't you? For an "official" summary you may
> want to read <http://www.opengroup.org/public/tech/aspen/aspenf.htm>. To me
> this sounds like a common agreement, doesn't it?
This is indeed common agreement. In the unix world. This has
nothing to do with any standards regarding C and/or C++.
The only thing that is (cross-platform) guaranteed is:
sizeof(char)<=sizeof(short)<=sizeof(int)<=sizeof(long)
and
sizeof(char)==1
Decide for your self what this can mean. And I have heard
that in the Wintel world (wich also has a 64 Bit architecture
available) ints remain 32 bit. This is also common agreement.
And, as I take it, the same as in the unix world. But it
is not guaranteed.
> I was talking about 64 bit architectures!
I forgot that eg. Alpha is 64 bit.
Markus
Post a reply to this message
|
|