On 19 February 2012 18:31, Stewart Gordon <smjg_1998@yahoo.com> wrote:
On 19/02/2012 15:26, Manu wrote:
<snip>
There is code that assumes size_t is the width of the pointer, and other code that assumes
size_t is the width of the native int.
<snip>

How does it do that?

Indeed, how does code rely on the concept of native int at all?

You can't imagine any situation where you might want to know how big an int is?
Anything from calling convention code, structure layout/packing, copying memory, basically optimising for 64bits at all...
Turn that question around... if you don't know the size of a native int, how do you propose you take advantage of it?