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: Hyman Rosen Subject: Re: Ada Core Technologies announces GNATCOM Date: 2000/04/12 Message-ID: #1/1 X-Deja-AN: 610353720 Sender: hymie@calumny.jyacc.com 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-Complaints-To: abuse@panix.com X-Trace: news.panix.com 955570339 11639 209.49.126.226 (12 Apr 2000 20:12:19 GMT) Organization: PANIX Public Access Internet and UNIX, NYC NNTP-Posting-Date: 12 Apr 2000 20:12:19 GMT Newsgroups: comp.lang.ada Date: 2000-04-12T20:12:19+00:00 List-Id: "David Botton" writes: > I am not sure I understand how I am confused, although I may very > well be. 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. But this is completely erroneous for C. If you are correctly describing the behavior of the compiler then the compiler was broken.