comp.lang.ada
 help / color / mirror / Atom feed
From: Michael Bode <m.g.bode@web.de>
Subject: Re: Problem with representation clause in gnat 4.3
Date: Sat, 04 Oct 2008 14:36:23 +0200
Date: 2008-10-04T14:36:23+02:00	[thread overview]
Message-ID: <gc7o0h$min$1@online.de> (raw)
In-Reply-To: gc6lib$pq2$1@jacob-sparre.dk

"Randy Brukardt" <randy@rrsoftware.com> writes:

> I can't answer the why (you'd have to ask the GNAT implementers that), but 
> the usual fix is to give the size of the record type:
>
>     for Compound'Size use 80;

Thanks for answering, but it doesn't work with gnat. But the other tip
to use the alignment clause works.



  reply	other threads:[~2008-10-04 12:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03 22:08 Problem with representation clause in gnat 4.3 Michael Bode
2008-10-04  2:36 ` Randy Brukardt
2008-10-04 12:36   ` Michael Bode [this message]
2008-10-04 10:10 ` Per Sandberg
2008-10-04 12:37   ` Michael Bode
replies disabled

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