comp.lang.ada
 help / color / mirror / Atom feed
From: Laurent <lutgenl@icloud.com>
Subject: Re: Problem with Unbounded Strings
Date: Fri, 4 Dec 2015 15:19:16 -0800 (PST)
Date: 2015-12-04T15:19:16-08:00	[thread overview]
Message-ID: <68743e4f-c584-4caa-8462-db343f91e1c4@googlegroups.com> (raw)
In-Reply-To: <ly7fktj2o9.fsf@pushface.org>

On Friday, 4 December 2015 22:59:19 UTC+1, Simon Wright  wrote:
> 
> > The Log_File I have reduced it to the minimum too:
> >
> > 0123456789
> > abcdefghijklmnopqrstuvwxyz
> > ABCDEFGHIJKLMNOPQRSTUVWXYZ
> >
> > I expect my code to do this:
> >
> > 1st read: 0123456789
> > append to the buffer which is empty so content of buffer is: 0123456789
> >
> > 2nd read: abcdefghijklmnopqrstuvwxyz
> > append to buffer so it becomes: 0123456789abcdefghijklmnopqrstuvwxyz
> >
> > 3rd read: ABCDEFGHIJKLMNOPQRSTUVWXYZ
> > append to buffer so it would be: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
> 
> This is exactly what I get with OS X El Capitan & FSF GCC 5.2.0. Also
> GNAT GPL 2015.

El Capitane and Yosemite produce the same garbage using Gnat GPL 2015. I compile with GPS and gprbuild. No idea if that is of importance. Didn't try FSF. Later when I got some sleep and when I am back from work I will try that one. And Windows.


  reply	other threads:[~2015-12-04 23:19 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-04 15:49 Problem with Unbounded Strings Laurent
2015-12-04 16:04 ` Dmitry A. Kazakov
2015-12-04 16:53   ` Laurent
2015-12-04 18:00     ` Niklas Holsti
2015-12-04 21:05       ` Laurent
2015-12-04 20:34     ` Dmitry A. Kazakov
2015-12-04 21:43       ` Laurent
2015-12-04 22:23         ` Dmitry A. Kazakov
2015-12-05 10:22           ` Laurent
2015-12-05 12:19             ` Dmitry A. Kazakov
2015-12-05 13:15               ` Laurent
2015-12-04 18:08 ` Jeffrey R. Carter
2015-12-04 21:21   ` Laurent
2015-12-04 21:59     ` Simon Wright
2015-12-04 23:19       ` Laurent [this message]
2015-12-04 22:02     ` Dmitry A. Kazakov
2015-12-04 22:28     ` Jeffrey R. Carter
2015-12-04 23:35       ` Laurent
2015-12-04 23:59         ` Jeffrey R. Carter
2015-12-05 10:13           ` Laurent
2015-12-08  1:53           ` Randy Brukardt
2015-12-04 23:00     ` Ben Bacarisse
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox