From: Brian Drummond <brian3@shapes.demon.co.uk>
Subject: Re: subtype of System.Address type
Date: Thu, 27 Feb 2014 11:25:13 GMT
Date: 2014-02-27T11:25:13+00:00 [thread overview]
Message-ID: <tgFPu.7091$w42.121@fx14.fr7> (raw)
In-Reply-To: 376f729d-2883-4b28-82fa-9a24420e5e6e@googlegroups.com
On Wed, 26 Feb 2014 21:19:57 -0800, ashwath30jul77 wrote:
> Hello,
> My compiler(GNAT 3.1 ) gives an error for the following statement.
>
> subtype MEMORY_RANGE_TYPE is SYSTEM.ADDRESS range
> 16#0000_0000#..16#7FFF_FFFF#;
>
> It says incorrect constraint for this type.
What makes you think SYSTEM.ADDRESS is 32 bits, or even a single quantity
rather than a tuple(segment,offset) or something else?
- Brian
next prev parent reply other threads:[~2014-02-27 11:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-27 5:19 subtype of System.Address type ashwath30jul77
2014-02-27 5:38 ` Shark8
2014-02-27 6:07 ` Jeffrey Carter
2014-02-27 15:33 ` Robert A Duff
2014-02-27 11:25 ` Brian Drummond [this message]
2014-02-27 16:06 ` adambeneschan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox