comp.lang.ada
 help / color / mirror / Atom feed
From: Eryndlia Mavourneen <eryndlia@gmail.com>
Subject: Re: GnAT Error with Remote_Types and Incomplete Type?
Date: Wed, 16 Nov 2016 14:25:09 -0800 (PST)
Date: 2016-11-16T14:25:09-08:00	[thread overview]
Message-ID: <a49d0b39-e52a-4ada-9328-266adf2d358e@googlegroups.com> (raw)
In-Reply-To: <55194f1c-aba9-47b9-8173-ebd366aed405@googlegroups.com>

On Tuesday, November 15, 2016 at 7:48:28 AM UTC-6, Eryndlia Mavourneen wrote:
> Is this a compiler error?
> 
> This compiles:
> 
>     package Remote_Types_Incomplete_Type with Remote_Types is
>    
>        type My_Interface_Type is task interface;
>    
>     end Remote_Types_Incomplete_Type;
> 
> This does not compile:
> 
>     package Remote_Types_Incomplete_Type with Remote_Types is
>    
>        type My_Interface_Type;
>        type My_Interface_Type is task interface;
>    
>     end Remote_Types_Incomplete_Type;

It may be that this error is normally never occurs. It was left over from a prior version of the unit in which it was actually needed.  The error helped me, because it led me to code from that previous version, that I had neglected to remove.

-- em


  parent reply	other threads:[~2016-11-16 22:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-15 13:48 GnAT Error with Remote_Types and Incomplete Type? Eryndlia Mavourneen
2016-11-15 19:10 ` Randy Brukardt
2016-11-16  3:42   ` Eryndlia Mavourneen
2016-11-16 22:25 ` Eryndlia Mavourneen [this message]
2016-11-17  2:42   ` Randy Brukardt
2016-11-17  3:59     ` Eryndlia Mavourneen
replies disabled

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