From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Error with: for EntryName use at 16#address#;
Date: 27 Nov 2001 09:02:21 -0500
Date: 2001-11-27T14:04:54+00:00 [thread overview]
Message-ID: <ulmgsjor6.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: SwYL7.8837$qw1.2054447@weber.videotron.net
"Jean-David Tr�panier" <JDT@hy.cgocable.ca> writes:
> Hi! I have a little problem for handling an interrupt. I receive this error
> at the compilation of the code below: Expression has no possible
> interpretation as an expression of the expected type Address, Continuing
>
>
>
> with Text_IO; with System;
> procedure main is
> --------TASK-----------
> task TKeyboard is
> entry keyp;
> for Keyp use at 16#20#; -- Error at this line
This looks like a copy from an Ada 83 compiler, where the "address"
for an entry was typically an interrupt number. In Ada 95, things are
different. You need to read your compiler manual.
--
-- Stephe
next prev parent reply other threads:[~2001-11-27 14:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-25 2:14 Error with: for EntryName use at 16#address#; Jean-David Tr�panier
2001-11-25 9:01 ` Jerry van Dijk
2001-11-26 2:58 ` Nick Roberts
2001-11-27 4:04 ` Robert Dewar
2001-11-27 14:02 ` Stephen Leake [this message]
2001-11-27 19:26 ` Louis Granger
2001-11-27 20:41 ` Jerry van Dijk
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox