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,976a050e0f89277c X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Urgent question: malloc and ada... Date: 1998/05/03 Message-ID: #1/1 X-Deja-AN: 349932091 References: <352A79C2.15FB7483@nathan.gmd.de> <6hvm8k$t3l$1@news.hal-pc.org> <1998Apr30.180141.1@eisner> <6ihhko$i4n$1@news.nyu.edu> <6ihtmc$nf9$1@news.hal-pc.org> X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 894233041 1713 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.lang.ada Date: 1998-05-03T00:00:00+00:00 List-Id: Jonathan said <> Following up on my previous message .... the above makes no sense. The calling sequence includes the specifications for how structs are passed by reference, and thus how they are layed out and aligned. A calling sequence that is "carved in stone" must include these issues in the carving! Obviously if you use other than the default layout, by the use of the equiavelnt of pragmas or rep clauses, then no Ada compiler can telephaythically guess what you have done. However, every Ada compiler wlil implement sufficient flexibility so that you can use analogous statements in your Ada program to align and lay out your data in a compatible manner. Jonathan, I don't see any problem here at all. If you see one, let me make the same request I make of Joe, please give us an example of what you think is a problem case.