comp.lang.ada
 help / color / mirror / Atom feed
From: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson)
Subject: Re: Gnat 2.06 Ada95 (unix) File format????
Date: 1996/06/28
Date: 1996-06-28T00:00:00+00:00	[thread overview]
Message-ID: <4r19a9$au7@mulga.cs.mu.OZ.AU> (raw)
In-Reply-To: dewar.835538630@schonberg

I have no sympathy for Ronald Cole's position in this thread.
But I want to pick a nit with one comment that Robert Dewar made.

dewar@cs.nyu.edu (Robert Dewar) writes:

>Note that in particular, if 3.05 is a "piece of shit" because of this
>behavior, then *all* C compilers are also a "piece of shit", since the
>ANSI C standard *requires* the worrisome behavior (copying all records
>when they are passed as value parameters).

That's not correct.  The ANSI/ISO C standard dictates behaviour, not
implementation.  C implementations can implement pass-by-value by
passing a pointer and then making a copy in the callee if and only if
the address of the struct is taken or the struct is modified.

--
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.




  parent reply	other threads:[~1996-06-28  0:00 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-12  0:00 Gnat 2.06 Ada95 (unix) File format???? Mike Ibarra
1996-06-12  0:00 ` Robert Dewar
1996-06-12  0:00 ` Peter Hermann
1996-06-12  0:00 ` Samuel Tardieu
1996-06-15  0:00 ` Ronald Cole
1996-06-15  0:00   ` Brian Rogoff
1996-06-15  0:00   ` Robert Dewar
1996-06-15  0:00   ` James E. Hopper
1996-06-21  0:00     ` Ronald Cole
1996-06-22  0:00       ` George Tracey
1996-06-23  0:00       ` Robert Dewar
1996-06-27  0:00         ` Peter Hermann
1996-06-28  0:00         ` Fergus Henderson [this message]
1996-06-23  0:00     ` Ronald Cole
1996-06-23  0:00       ` Robert Dewar
1996-06-24  0:00     ` Ronald Cole
1996-06-25  0:00     ` Free support for old Gnat versions (was: Gnat 2.06 Ada95 (unix) File format????) Ronald Cole
     [not found]       ` <31D1368D.167EB0E7@escmail.orl.mmc.com>
1996-06-28  0:00         ` Robert Dewar
1996-06-25  0:00     ` Theodore E. Dennison
1996-06-28  0:00     ` Gnat 2.06 Ada95 (unix) File format???? Ronald Cole
1996-06-15  0:00 ` Ronald Cole
1996-06-15  0:00   ` Robert Dewar
1996-06-20  0:00     ` Michael Feldman
1996-06-16  0:00 ` Ronald Cole
1996-06-17  0:00 ` Jim Kingdon
1996-06-19  0:00 ` Ronald Cole
1996-06-20  0:00   ` Robert Dewar
replies disabled

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