comp.lang.ada
 help / color / mirror / Atom feed
From: Geoff Bull <geoff@research.canon.com.au>
Subject: Re: Ada Core Technologies announces GNATCOM
Date: 2000/04/14
Date: 2000-04-14T01:30:39+00:00	[thread overview]
Message-ID: <38F674E2.47DF35FC@research.canon.com.au> (raw)
In-Reply-To: 8d53tn$fb$1@nnrp1.deja.com

Robert Dewar wrote:
> 
> In article <h%4J4.690$eF.25364@news-east.usenetserver.com>,
>   "David Botton" <David@Botton.com> wrote:
> 
> > I may be mistaken, but I believe many pre (and I mean pre)
> > ANSI C compilers did this.
> 
> Absolutely not! This is really a very serious bug, and I
> have never worked with a C compiler that had this bug. It
> did not need the ANSI standard to know that C has ONLY
> call by value!

I am sure I remember a compiler, possibly an early version of MS C,
that passed structs by reference.
It was obviously a bug.

The case where pass by reference or value depended on the
size would be fun. Add a component to a struct and the whole
behaviour of the program changes. ouch!

Geoff




  reply	other threads:[~2000-04-14  0:00 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-07  0:00 Ada Core Technologies announces GNATCOM Robert Dewar
2000-04-07  0:00 ` Ted Dennison
2000-04-07  0:00 ` Vladimir Olensky
2000-04-08  0:00   ` Robert Dewar
2000-04-08  0:00 ` tmoran
2000-04-08  0:00   ` Robert Dewar
2000-04-09  0:00     ` tmoran
2000-04-12  0:00       ` Robert Dewar
2000-04-12  0:00         ` Tarjei T. Jensen
2000-04-12  0:00           ` Robert Dewar
2000-04-12  0:00             ` Robert A Duff
2000-04-13  0:00               ` Robert Dewar
2000-04-13  0:00                 ` Robert A Duff
2000-04-15  0:00                   ` Robert Dewar
2000-04-12  0:00           ` David Botton
2000-04-12  0:00             ` Robert Dewar
2000-04-12  0:00               ` David Botton
2000-04-12  0:00                 ` Hyman Rosen
2000-04-12  0:00                   ` David Botton
2000-04-13  0:00                     ` Robert Dewar
2000-04-14  0:00                       ` Geoff Bull [this message]
2000-04-14  0:00                         ` dale
2000-04-13  0:00                     ` Tarjei T. Jensen
2000-04-13  0:00                 ` Robert Dewar
2000-04-12  0:00               ` DuckE
2000-04-13  0:00                 ` Robert Dewar
2000-04-12  0:00         ` C_Pass_By_Value, was " tmoran
2000-04-09  0:00     ` tmoran
2000-04-09  0:00       ` Robert Dewar
2000-04-09  0:00       ` Larry Kilgallen
2000-04-09  0:00         ` Marin D. Condic
2000-04-09  0:00           ` Brian Rogoff
2000-04-09  0:00             ` David Starner
2000-04-10  0:00               ` Gisle S�lensminde
2000-04-10  0:00                 ` Hyman Rosen
2000-04-11  0:00                   ` Gisle S�lensminde
2000-04-11  0:00                     ` Hyman Rosen
2000-04-10  0:00             ` Marin D. Condic
2000-04-09  0:00         ` tmoran
2000-04-09  0:00         ` Robert Dewar
2000-04-09  0:00         ` Robert Dewar
2000-04-11  0:00         ` Tucker Taft
2000-04-08  0:00   ` David Botton
2000-04-08  0:00 ` Tom Hargraves
2000-04-08  0:00   ` David Starner
2000-04-08  0:00   ` Robert Dewar
2000-04-08  0:00   ` David
replies disabled

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