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: "Joe Wisniewski" Subject: Re: simple question - how to emulate void * ? Date: 1998/10/24 Message-ID: <6%8Y1.776$Fh4.5898296@news.rdc1.md.home.com>#1/1 X-Deja-AN: 404462625 References: <9v6hGdgMLuwN-pn2-Oc41W71Dq3U9@dt182n2f.tampabay.rr.com> <362EF435.7575@ddre.dk> <70pfpm$qe5@gcsin3.geccs.gecm.com> <1104_909142646@DZOG-CHEN> <70q89d$io1$1@nnrp1.dejanews.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: @Home Network NNTP-Posting-Date: Fri, 23 Oct 1998 17:16:02 PDT Newsgroups: comp.lang.ada Date: 1998-10-24T00:00:00+00:00 List-Id: There is an analogous situation to this "use" problem with named notation for a subprogram that is overloaded. I can't quite remember the situation exactly. Ugh, I can't quite remember the situation. If someone;s run into this recently, it would be interesting to look at. Joe dennison@telepath.com wrote in message <70q89d$io1$1@nnrp1.dejanews.com>... >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