From: anh_vo@udlp.com (Anh_Vo)
Subject: Re: Possible bug / need confirmation
Date: 11 Jun 2002 13:21:07 -0700
Date: 2002-06-11T20:21:07+00:00 [thread overview]
Message-ID: <5a59d6a9.0206111221.f721e43@posting.google.com> (raw)
In-Reply-To: x7v7kl6fkcd.fsf@pushface.org
Simon Wright <simon@pushface.org> wrote in message news:<x7v7kl6fkcd.fsf@pushface.org>...
> anh_vo@udlp.com (Anh_Vo) writes:
>
> > The codes below causes Program_Error, EXCEPTION_ACCESS_VIOLATION,
> > under Windows 2K and Constrain_Error, SIGSEGV, under Solaris when
> > compiled with GNAT-3.14p.
> > Any one having GNAT 3.15 or later, please check if this problem has
> > been corrected. In addition, the exact error message are included
> > also. If confirmed, I will submit a bug report. Thanks in advance for
> > your help.
>
> Your mailer has mangled the sources by wrapping lines. If it were a
> little file I would correct it myself, but ... can you perhaps zip or
> tar it up and repost? (or mail me)
Here is a cut-down version. Thanks to Dan Eilers.
Here's a cut-down version of your gnat bug.
with ada.streams;
package pak is
type Socket_Stream_Type is new ada.streams.Root_Stream_Type
with null record;
procedure Read
(Stream : in out Socket_Stream_Type;
Item : out ada.streams.Stream_Element_Array;
Last : out ada.streams.Stream_Element_Offset);
procedure Write
(Stream : in out Socket_Stream_Type;
Item : in ada.streams.Stream_Element_Array);
end pak;
with pak;
with ada.streams;
procedure Phone is
Stream: aliased pak.Socket_Stream_Type;
Line : String (1 .. 80);
begin
select
String'Output (Stream'Access, Line);
or delay 1.0;
end select;
end Phone;
next prev parent reply other threads:[~2002-06-11 20:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-11 0:00 Possible bug / need confirmation Anh_Vo
2002-06-11 5:36 ` Simon Wright
2002-06-11 20:21 ` Anh_Vo [this message]
2002-06-11 20:39 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox