comp.lang.ada
 help / color / mirror / Atom feed
From: "Joe Wisniewski" <wisniew@home.com>
Subject: Re: simple question - how to emulate void * ?
Date: 1998/10/24
Date: 1998-10-24T00:00:00+00:00	[thread overview]
Message-ID: <6%8Y1.776$Fh4.5898296@news.rdc1.md.home.com> (raw)
In-Reply-To: 70q89d$io1$1@nnrp1.dejanews.com

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






  reply	other threads:[~1998-10-24  0:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-23  0:00 simple question - how to emulate void * ? Craig Allen
1998-10-23  0:00 ` Dale Stanbrough
1998-10-22  0:00   ` Hans Marqvardsen
1998-10-22  0:00   ` Hans Marqvardsen
1998-10-23  0:00     ` John McCabe
1998-10-23  0:00       ` Ed Falis
1998-10-23  0:00         ` dennison
1998-10-24  0:00           ` Joe Wisniewski [this message]
1998-10-25  0:00           ` dewar
1998-10-24  0:00         ` Dale Stanbrough
1998-10-24  0:00           ` Tucker Taft
1998-10-24  0:00           ` Robert A Duff
1998-10-23  0:00       ` dennison
1998-10-23  0:00   ` David C. Hoos, Sr.
1998-10-23  0:00   ` David C. Hoos, Sr.
1998-10-23  0:00 ` Tom Moran
1998-10-23  0:00 ` Jeff Carter
1998-10-24  0:00   ` Dale Stanbrough
1998-10-25  0:00     ` dewar
1998-11-05  0:00 ` Craig Allen
1998-11-06  0:00   ` Dale Stanbrough
1998-11-06  0:00     ` Matthew Heaney
1998-11-06  0:00       ` dewarr
1998-11-06  0:00   ` Tom Moran
replies disabled

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