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: Robert Dewar Subject: Re: Ada Core Technologies announces GNATCOM Date: 2000/04/13 Message-ID: <8d53qj$ec$1@nnrp1.deja.com>#1/1 X-Deja-AN: 610766099 References: <8coc5e$do2$1@nnrp1.deja.com> <8d0ru2$arc$1@nnrp1.deja.com> <8d1paa$n0n4@ftp.kvaerner.com> <8d2d8j$1tk$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x31.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Apr 13 18:31:46 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-04-13T00:00:00+00:00 List-Id: In article , "David Botton" wrote: > In the Turbo C version I used (some many years ago) if struct > q was large enough doing > m.a++ in the function as you do below would in fact change the > m passed in, ie. a pass by reference. That's a serious bug! In C, parameters are never EVER passed by reference. Certainly Ada does not have to be worried about interfacing consistently to C compilers with serious bugs in them that affect the interfacing :-) Sent via Deja.com http://www.deja.com/ Before you buy.