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,4c08cfbd3f797c1c X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: simple question - how to emulate void * ? Date: 1998/10/23 Message-ID: <70q89d$io1$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 404300595 References: <9v6hGdgMLuwN-pn2-Oc41W71Dq3U9@dt182n2f.tampabay.rr.com> <362EF435.7575@ddre.dk> <70pfpm$qe5@gcsin3.geccs.gecm.com> <1104_909142646@DZOG-CHEN> X-Http-Proxy: 1.0 x4.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Oct 23 15:44:45 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.05 [en] (WinNT; I) Date: 1998-10-23T00:00:00+00:00 List-Id: In article <1104_909142646@DZOG-CHEN>, falis@ma.aonix.com (Ed Falis) wrote: > In OA, both System and System.Storage_Units declare "+" operators with Address and Integer or Storage_Offset respectively. Since there are use clauses > for both units, the compiler doesn't know how to interpret the numeric literal "1" on the right hand side of the expression. > > So, eliminate one of the use clauses, or qualify the literal, e.g. Integer'(1) or Storage_Offset'(1), and the code will compile and execute. > One more poor soul burned by the evil "use" clause... -- T.E.D. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own