comp.lang.ada
 help / color / mirror / Atom feed
From: Adrian Knoth <adi@thur.de>
Subject: Re: how to know sizeof(int)
Date: 4 Aug 2004 21:52:58 GMT
Date: 2004-08-04T21:52:58+00:00	[thread overview]
Message-ID: <slrnch2mlq.5o5.adi@ppc201.mipool.uni-jena.de> (raw)
In-Reply-To: pivqec.ppo1.ln@skymaster

Jean-Pierre Rosen <rosen@adalog.fr> wrote:

>> how can i know the result of a sizeof(int) (in C).
>> i did not find the approppriate stuffs in interfaces.C.
> Interfaces.C.Int'Size/8

Is it specific to a single compiler? How can someone (gnat) know
about the size of an Integer in C? The standard doesn't define it,
does it?

As far as I know the size of internal datatyes is compiler-dependent.

-- 
mail: adi@thur.de  	http://adi.thur.de	PGP: v2-key via keyserver

We are born for Appelkorn!



  parent reply	other threads:[~2004-08-04 21:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-04 14:58 how to know sizeof(int) Evangelista Sami
2004-08-04 15:18 ` Eric Jacoboni
2004-08-04 15:26 ` Adrian Knoth
2004-08-04 15:32 ` Jean-Pierre Rosen
2004-08-04 19:06   ` Ludovic Brenta
2004-08-05  8:14     ` Jean-Pierre Rosen
2004-08-07  4:09       ` Keith Thompson
2004-08-04 21:52   ` Adrian Knoth [this message]
2004-08-05  8:16     ` Jean-Pierre Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox