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,5037bf0bb33408c8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-09 23:06:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: "&" for array versus "&" for Strings Date: Thu, 10 Oct 2002 06:06:17 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1034229977 10525 129.241.83.78 (10 Oct 2002 06:06:17 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 10 Oct 2002 06:06:17 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:29644 Date: 2002-10-10T06:06:17+00:00 List-Id: Grein, Christoph wrote: > Oops, you'r right, I thought a string literal was a short form of a > character array aggregate. But the RM treats is separately and allows > to replace array aggregates by string literals in certain > circumstances. > > So I think the unqualified Print_Names ("Ada " & "Babbel"); should > resolve OK. so Gnat is in error here. > > Has the OP reported this to ACT? I think he was using Gnat. No I haven't. I don't know how to do it. Does anybody have a link to a document on reporting bugs? But if the bug I see has been changed from Gnat 3.14p to 3.16w then I think that one need to report the new bug in Gnat 3.16w? Preben -- Ada95 is good for you. http://libre.act-europe.fr/Software_Matters/02-C_pitfalls.pdf