comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: From 16 bit to 32
Date: Mon, 14 Jan 2013 16:34:40 -0800 (PST)
Date: 2013-01-14T16:34:40-08:00	[thread overview]
Message-ID: <1b5c0c14-60ec-46ac-b458-9db2503026f4@googlegroups.com> (raw)
In-Reply-To: <1275291138379901547.989858rm-host.bauhaus-maps.arcor.de@news.arcor.de>

On Monday, January 14, 2013 4:14:26 PM UTC-8, Georg Bauhaus wrote:

> 
> > I don't think you'll be able to get around changing everything.  If you
> > give a representation clause for a record component that isn't big enough
> > to hold the component, the program won't compile.  Maybe there's an Ada
> > compiler with an option to ignore representation clauses, but I don't know of any.
> 
> -gnatI is it for GNAT. Caveats apply.

(The last letter is upper-case I, for those who are reading this in a font that makes it look exactly like lower-case L.)

Yes, I wasn't aware of that.  It looks like something the OP could use--*temporarily*.  It still means using non-standard Ada, in effect, so even if this helps compile and test some stuff in the short term, I'd still recommend modifying or removing the rep clauses.

                               -- Adam




  reply	other threads:[~2013-01-15  0:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-14 20:21 From 16 bit to 32 Scott Loyd
2013-01-14 20:52 ` Adam Beneschan
2013-01-14 21:09   ` Scott Loyd
2013-01-15 22:27     ` Stephen Leake
2013-01-15  0:14   ` Georg Bauhaus
2013-01-15  0:34     ` Adam Beneschan [this message]
2013-01-15  2:40       ` Jeffrey Carter
2013-01-15  0:44   ` Randy Brukardt
2013-01-15 14:40     ` Robert A Duff
2013-01-15 15:47       ` Scott Loyd
2013-01-15 19:12         ` J-P. 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