From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Boolean Operation on pointer (access)
Date: Sun, 27 Oct 2002 01:07:35 GMT
Date: 2002-10-27T01:07:35+00:00 [thread overview]
Message-ID: <wccy98ksn8o.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: mailman.1035674102.6610.comp.lang.ada@ada.eu.org
"Dominic D'Apice" <dapiced@sympatico.ca> writes:
> if (x /= null) then --the line where the compiler stop
...
> I got this error :
>
> gerer_location.ada: Error: line 136 col 23 LRM:8.4(1),
> Binary operator "/=" not directly visible, use clause or conversion
> might be needed
>
> The operation "/=" should be permit on pointer, then why i got this
> error ?
You want a "use type" clause on the pointer type.
Yes, "/=" is allowed on pointers, but this operator is implicitly
declared at a certain place in the program, and you need to make it
directly visible in order to call it.
- Bob
next prev parent reply other threads:[~2002-10-27 1:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-26 23:15 Boolean Operation on pointer (access) Dominic D'Apice
2002-10-27 1:07 ` Robert A Duff [this message]
2002-10-27 1:26 ` Dominic D'Apice
2002-10-27 2:02 ` Robert A Duff
2002-10-27 2:17 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox