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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,21f683a2c713b788 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-26 18:08:14 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!logbridge.uoregon.edu!arclight.uoregon.edu!news.tufts.edu!uunet!dca.uu.net!ash.uu.net!world!news From: Robert A Duff Subject: Re: Boolean Operation on pointer (access) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Sender: news@world.std.com (Mr Usenet Himself) Message-ID: Date: Sun, 27 Oct 2002 01:07:35 GMT Content-Type: text/plain; charset=us-ascii References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Organization: The World Public Access UNIX, Brookline, MA Xref: archiver1.google.com comp.lang.ada:30166 Date: 2002-10-27T01:07:35+00:00 List-Id: "Dominic D'Apice" 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