From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,60dd4fe7723c0ef X-Google-Attributes: gid103376,public From: Geoff Bull Subject: Re: Ada Core Technologies announces GNATCOM Date: 2000/04/14 Message-ID: <38F674E2.47DF35FC@research.canon.com.au>#1/1 X-Deja-AN: 610923557 Content-Transfer-Encoding: 7bit References: <8coc5e$do2$1@nnrp1.deja.com> <8d0ru2$arc$1@nnrp1.deja.com> <8d1paa$n0n4@ftp.kvaerner.com> <8d2d8j$1tk$1@nnrp1.deja.com> <8d53tn$fb$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@research.canon.com.au X-Trace: cass.research.canon.com.au 955675839 2455 203.12.174.227 (14 Apr 2000 01:30:39 GMT) Organization: Canon Information Systems Research Australia Mime-Version: 1.0 NNTP-Posting-Date: 14 Apr 2000 01:30:39 GMT Newsgroups: comp.lang.ada Date: 2000-04-14T01:30:39+00:00 List-Id: Robert Dewar wrote: > > In article , > "David Botton" 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