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.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5037bf0bb33408c8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-08 05:22:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: "&" for array versus "&" for Strings Date: Tue, 8 Oct 2002 07:21:32 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <200210081153.NAA17399@bulgaria.otn.eurocopter.de> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1034079722 83038 137.194.161.2 (8 Oct 2002 12:22:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 8 Oct 2002 12:22:02 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2711.0600 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:29583 Date: 2002-10-08T07:21:32-05:00 ----- Original Message ----- From: "Grein, Christoph" To: Sent: October 08, 2002 6:53 AM Subject: Re: "&" for array versus "&" for Strings > > Gnat 3.16w produces an error for this: > > preben.adb:15:17: expected type "Name_Array" defined at line 4 > preben.adb:15:17: found a string type > > With qualification, it works. With gnat-3.14p and qualification it still fails, so it would appear that this is a "bug" fixed in 3.16w. Clearly, from a language standpoint, it is necessary to disambiguate the & operator in the call to Print_Names, and qualification of its operands does just that.