From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: Learning Ada-What does this mean.
Date: 11 Sep 2002 16:31:04 +0200
Date: 2002-09-11T14:31:06+00:00 [thread overview]
Message-ID: <ulm68fviv.fsf@wanadoo.fr> (raw)
In-Reply-To: d40d7104.0209110358.50df45fa@posting.google.com
vashwath@rediffmail.com (prashna) writes:
> Hi all,
> 1)Have a look at following piece of code and pls let me what does it
> mean?
> type T_MEM_IO is
> record
> INT_1 : T_INTEGER;
> INT_2 : T_INTEGER;
> end record;
> for T_MEM_IO use
> record
> INT_1 at 0 range 0..31;
> INT_2 at 1 range 0..31;
> end record;
This is a representation clause (see RM.13). It is used to layout the data
in memory.
> 2)The code shown above is compiling perfectly when compiled using
> tartan compiler(on AIX), but giving error when compiled using gnat(on
> windows 2000).Why is it so?
Hard to tell without the T_INTEGER definition.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
next prev parent reply other threads:[~2002-09-11 14:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-11 11:58 Learning Ada-What does this mean prashna
2002-09-11 12:26 ` Georg Bauhaus
2002-09-13 4:24 ` prashna
2002-09-13 12:46 ` Georg Bauhaus
2002-09-11 14:04 ` Stephen Leake
2002-09-11 14:31 ` Pascal Obry [this message]
2002-09-11 14:50 ` Peter Hermann
2002-09-11 18:40 ` tmoran
2002-09-13 4:19 ` prashna
2002-09-13 4:52 ` tmoran
2002-09-13 11:00 ` David C. Hoos, Sr.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox