comp.lang.ada
 help / color / mirror / Atom feed
From: jpwoodruff@irisinternet.net (John Woodruff)
Subject: Re: Two generic families: I'm confused by error msg
Date: 4 Nov 2004 19:45:41 -0800
Date: 2004-11-04T19:45:41-08:00	[thread overview]
Message-ID: <34defe4d.0411041945.bb68faf@posting.google.com> (raw)
In-Reply-To: 4188ab00$1_1@baen1673807.greenlnk.net

"Martin Dowie" <martin.dowie@baesystems.com> wrote in message news:<4188ab00$1_1@baen1673807.greenlnk.net>...
> John Woodruff wrote:
> > --------------------------------------------------------------------------
> > -- If this line "subtype Real is Unreal"  is ABSENT, then error at
> > line 26:
> > -- Component subtype of actual does not match that of formal "Vector"
> > --------------------------------------------------------------------------
> >    subtype Real is Unreal;
> 
> Looks like a GNAT-ism. ObjectAda 7.2.2 is fine with or without the subtype.

Dmitry's suggestion was such a good one, that when I tried it the
original symptom disappeared!

It seems that the issue was likely an artifact of gnat 3.15p.  I
pretty-much-always avoid attributing my errors to compiler glitches,
but this time ...

Thanks, gents

John



      parent reply	other threads:[~2004-11-05  3:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-03  5:40 Two generic families: I'm confused by error msg John Woodruff
2004-11-03  8:46 ` Dmitry A. Kazakov
2004-11-03 10:01 ` Martin Dowie
2004-11-03 13:37   ` Georg Bauhaus
2004-11-05  3:45   ` John Woodruff [this message]
replies disabled

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