comp.lang.ada
 help / color / mirror / Atom feed
From: rdt@liyorkrd.li.co.uk
Subject: Re: Compiling with Gnat
Date: 1999/01/21
Date: 1999-01-21T00:00:00+00:00	[thread overview]
Message-ID: <787bod$gg0$1@nnrp1.dejanews.com> (raw)
In-Reply-To: yoxu2xl3q4w.fsf@dymock.dra.hmg.gb

In article <yoxu2xl3q4w.fsf@dymock.dra.hmg.gb>,
  rh@signal.dera.gov.uk (Roger Hoyle) wrote:
> David C. Hoos, Sr. writes:
>
> > Roger Hoyle wrote ...
> > >
> > >use clause not allowed in predefined spec
> >
> > What is the name of the file and the name of the unit in which you're
> > placing this "use" clause?
> > Does it have the name of one of the langage- or gnat- predefined units?
>
> The file is i-cpoerr.ads and the use clause happens in...
>
> package Interfaces.C.POSIX_Error is
>
> > >The line in the code is :
> > >
> > >use Interfaces.C;
> >
> > >Are there any workarounds better than putting appropriate references before
> > >every variable. Would that work?
> >
> > In Ada95, "use" clauses can be replaced by "use type" clauses for primitive
> > operation visibility.
>
> Forgive my ignorance, but could you please explain the "use type" clause, I
> can't find a reference to it an any of my Ada95 texts.

What texts are you using ??

The Ada95 LRM (ISO/IEC 8652:1995(E) - RM95;6.0) refers to use_type_clause in
the index and it is fully explained in section 8.4(4).

Regards
Richard Toy

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  parent reply	other threads:[~1999-01-21  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-20  0:00 Compiling with Gnat Roger Hoyle
1999-01-20  0:00 ` David C. Hoos, Sr.
1999-01-21  0:00   ` Roger Hoyle
1999-01-21  0:00     ` robert_dewar
1999-01-21  0:00     ` David C. Hoos, Sr.
1999-01-21  0:00     ` rdt [this message]
1999-01-21  0:00 ` dewar
replies disabled

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