comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: GnAT Error with Remote_Types and Incomplete Type?
Date: Tue, 15 Nov 2016 13:10:54 -0600
Date: 2016-11-15T13:10:54-06:00	[thread overview]
Message-ID: <o0fmid$7dl$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: 55194f1c-aba9-47b9-8173-ebd366aed405@googlegroups.com

What is the error message? It's unclear to me (from a quick scan of the RM) 
how an incomplete type in a remote types package should be handled, so I'm 
wondering what the compiler is complaining about.

                             Randy.

"Eryndlia Mavourneen" <eryndlia@gmail.com> wrote in message 
news:55194f1c-aba9-47b9-8173-ebd366aed405@googlegroups.com...
> 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; 


  reply	other threads:[~2016-11-15 19:10 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 [this message]
2016-11-16  3:42   ` Eryndlia Mavourneen
2016-11-16 22:25 ` Eryndlia Mavourneen
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