From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: subtype of System.Address type
Date: Wed, 26 Feb 2014 23:07:13 -0700
Date: 2014-02-26T23:07:13-07:00 [thread overview]
Message-ID: <lemkmh$6c7$1@dont-email.me> (raw)
In-Reply-To: <376f729d-2883-4b28-82fa-9a24420e5e6e@googlegroups.com>
On 02/26/2014 10:19 PM, ashwath30jul77@gmail.com 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.
>
> Kindly let me know the mistake I am doing.
I don't know about GNAT 3.1, but in more recent versions of GNAT, System.Address
is not a numeric type.
--
Jeff Carter
"I unclog my nose towards you."
Monty Python & the Holy Grail
11
next prev parent reply other threads:[~2014-02-27 6:07 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 [this message]
2014-02-27 15:33 ` Robert A Duff
2014-02-27 11:25 ` Brian Drummond
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