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: Tue, 15 Nov 2016 19:42:00 -0800 (PST)
Date: 2016-11-15T19:42:00-08:00	[thread overview]
Message-ID: <3288b5b1-c7d2-4238-a4fa-301d6abf49d7@googlegroups.com> (raw)
In-Reply-To: <o0fmid$7dl$1@franka.jacob-sparre.dk>

On Tuesday, November 15, 2016 at 1:10:56 PM UTC-6, Randy Brukardt wrote:
> 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;

Builder results must have visible Read and Write attribute definition clauses (RM E.2.2(8)) <b>4:9</b>       must have visible Read and Write attribute definition clauses (RM E.2.2(8)) 
Builder results
remote_types_incomplete_type.ads:4:9
must have visible Read and Write attribute definition clauses (RM E.2.2(8)) must have visible Read and Write attribute definition clauses (RM E.2.2(8))

  reply	other threads:[~2016-11-16  3:42 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 [this message]
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