From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7973f5b14b2860c9 X-Google-Attributes: gid103376,public From: rdt@liyorkrd.li.co.uk Subject: Re: Compiling with Gnat Date: 1999/01/21 Message-ID: <787bod$gg0$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 435203019 References: <784r4q$3t7@hobbes.crc.com> Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Jan 21 13:57:37 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95) via proxy gateway CERN-HTTPD/3.0 libwww/2.17 Date: 1999-01-21T00:00:00+00:00 List-Id: In article , 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