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,8f734cdbc8408497 X-Google-Attributes: gid103376,public From: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson) Subject: Re: Gnat 2.06 Ada95 (unix) File format???? Date: 1996/06/28 Message-ID: <4r19a9$au7@mulga.cs.mu.OZ.AU>#1/1 X-Deja-AN: 162625485 references: <4pmfr5$epc@news3.digex.net> <4pte3s$ae5@news.erinet.com> <4qbu5h$p3f@felix.seas.gwu.edu> organization: Comp Sci, University of Melbourne newsgroups: comp.lang.ada Date: 1996-06-28T00:00:00+00:00 List-Id: 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 | "I have always known that the pursuit WWW: | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.