From: "Dr. Adrian Wrigley" <amtw@linuxchip.demon.co.uk.uk.uk>
Subject: Re: discriminant type
Date: Wed, 14 Sep 2005 20:08:15 GMT
Date: 2005-09-14T20:08:15+00:00 [thread overview]
Message-ID: <pan.2005.09.14.20.08.21.937151@linuxchip.demon.co.uk.uk.uk> (raw)
In-Reply-To: 8764t4hew0.fsf@ludovic-brenta.org
On Tue, 13 Sep 2005 22:49:35 +0200, Ludovic Brenta wrote:
> diff -u:
> @@ -1,3 +1,3 @@
> type T_Matrix (Col_Size, Row_Size : Integer) is record
> - Vec : T_Vector (Col_Size * Row_Size);
> + Vec : T_Vector (1 .. Col_Size * Row_Size);
> end record;
I may have missed something here, but doesn't the discriminant
have to appear alone in a constraint?
gcc -c blob.adb
6:25: discriminant in constraint must appear alone
6:36: discriminant in constraint must appear alone
--
Adrian
next prev parent reply other threads:[~2005-09-14 20:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-13 20:45 discriminant type nicolas.b
2005-09-13 20:49 ` Ludovic Brenta
2005-09-13 22:06 ` David Trudgett
2005-09-14 20:08 ` Dr. Adrian Wrigley [this message]
2005-09-15 15:08 ` Nick Roberts
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox