comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: simple question - how to emulate void * ?
Date: 1998/10/23
Date: 1998-10-23T00:00:00+00:00	[thread overview]
Message-ID: <70q89d$io1$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 1104_909142646@DZOG-CHEN

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-23  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 ` Tom Moran
1998-10-23  0:00 ` Dale Stanbrough
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 [this message]
1998-10-24  0:00           ` Joe Wisniewski
1998-10-25  0:00           ` dewar
1998-10-24  0:00         ` Dale Stanbrough
1998-10-24  0:00           ` Robert A Duff
1998-10-24  0:00           ` Tucker Taft
1998-10-23  0:00       ` dennison
1998-10-22  0:00   ` Hans Marqvardsen
1998-10-23  0:00   ` David C. Hoos, Sr.
1998-10-23  0:00   ` David C. Hoos, Sr.
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   ` Tom Moran
1998-11-06  0:00   ` Dale Stanbrough
1998-11-06  0:00     ` Matthew Heaney
1998-11-06  0:00       ` dewarr
replies disabled

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