From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: GNAT.Serial_Communication and Streams
Date: Tue, 24 Nov 2015 09:09:44 -0700
Date: 2015-11-24T09:09:44-07:00 [thread overview]
Message-ID: <n321vr$5fe$1@dont-email.me> (raw)
In-Reply-To: <n30eh3$bjg$1@loke.gir.dk>
On 11/23/2015 06:29 PM, Randy Brukardt wrote:
>
> Probably works on GNAT, but it's not portable Ada code. For one thing, it
> assumes that Implementation Advice 13.3(14) is followed (Janus/Ada does not
> follow that advice - after all, it is just advice, not a requirement). It
> also assumes that Local is not optimized at all (there is advice that Output
> not be optimized, but that doesn't apply to Local, and like all advice, it
> can be ignored).
>
> Might not matter in this case (which is clearly GNAT-specific), but
> generally this is a pattern to avoid.
I agree, but since the OP was clearly writing GNAT-specific code, I saw no
problem with giving GNAT-specific advice.
--
Jeff Carter
"Now look, Col. Batguano, if that really is your name."
Dr. Strangelove
31
next prev parent reply other threads:[~2015-11-24 16:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-22 21:40 GNAT.Serial_Communication and Streams rrr.eee.27
2015-11-22 21:52 ` Simon Wright
2015-11-22 21:54 ` Jeffrey R. Carter
2015-11-24 1:29 ` Randy Brukardt
2015-11-24 16:09 ` Jeffrey R. Carter [this message]
2015-11-24 8:28 ` Dmitry A. Kazakov
2015-11-24 10:28 ` Simon Wright
2015-11-24 10:45 ` Dmitry A. Kazakov
2015-11-25 6:24 ` Shark8
2015-11-25 8:07 ` Simon Wright
2015-11-25 8:52 ` Dmitry A. Kazakov
2015-11-25 12:45 ` Shark8
2015-11-25 17:43 ` Dmitry A. Kazakov
2015-11-29 8:45 ` Shark8
2015-11-29 9:33 ` Dmitry A. Kazakov
2015-11-29 11:34 ` 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