From: "Grein, Christoph" <christoph.grein@eurocopter.com>
Subject: Re: "&" for array versus "&" for Strings
Date: Thu, 10 Oct 2002 08:28:21 +0200 (MET DST)
Date: 2002-10-10T08:28:21+02:00 [thread overview]
Message-ID: <mailman.1034231642.24962.comp.lang.ada@ada.eu.org> (raw)
> > 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?
The address to report bugs is
report@gnat.com
but do not expect reactions if you're not a supported user.
But since even in 3.16w it's possibley not OK, send it in anyway. In the program
below, only the qualified expressions and array aggregates compile.
procedure Preben is
type String_Array is array (1 .. 2) of String (1 .. 3);
procedure P (X: String_Array) is
begin
null;
end P;
S1: String_Array := "Ada" & "C++"; -- not OK
S2: String_Array := String'("Ada") & String'("C++"); -- OK
S3: String_Array := ("Ada", "C++"); -- OK
begin
P ("Ada" & "C++"); -- not OK
P (String'("Ada") & String'("C++")); -- OK
P (("Ada", "C++")); -- OK
end Preben;
next reply other threads:[~2002-10-10 6:28 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-10 6:28 Grein, Christoph [this message]
2002-10-10 7:15 ` "&" for array versus "&" for Strings Preben Randhol
-- strict thread matches above, loose matches on Subject: below --
2002-10-10 4:35 Grein, Christoph
2002-10-10 6:06 ` Preben Randhol
2002-10-09 9:59 Grein, Christoph
2002-10-09 5:28 Grein, Christoph
2002-10-09 12:43 ` Robert A Duff
2002-10-09 17:38 ` Steven Deller
2002-10-09 19:46 ` Robert A Duff
[not found] <200210081153.NAA17399@bulgaria.otn.eurocopter.de>
2002-10-08 12:21 ` David C. Hoos, Sr.
2002-10-08 13:56 ` Sergey Koshcheyev
2002-10-08 15:46 ` David C. Hoos
2002-10-08 15:56 ` Preben Randhol
2002-10-08 11:53 Grein, Christoph
2002-10-08 13:46 ` Preben Randhol
2002-10-08 13:49 ` Preben Randhol
2002-10-08 16:41 ` Robert A Duff
2002-10-09 9:35 ` Preben Randhol
2002-10-08 10:57 Preben Randhol
2002-10-14 16:34 ` Eric G. Miller
2002-10-14 17:54 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox