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,b82917c628cc6fdf X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Ada 83 Pointers question Date: 1999/01/21 Message-ID: <78800j$3o2$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 435307043 References: <36A658CA.97438B6@cacd.rockwell.com> <787fcm$k03$1@nnrp1.dejanews.com> X-Http-Proxy: 1.0 x13.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Jan 21 19:43:17 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-01-21T00:00:00+00:00 List-Id: In article <787fcm$k03$1@nnrp1.dejanews.com>, robert_dewar@my-dejanews.com wrote: > In article <36A658CA.97438B6@cacd.rockwell.com>, > aalowe@cacd.rockwell.com wrote: > > Now since we are safety critical, we have been forbidden > > from using a new clause and since the 'Access does not > > exist yet, the engineer created a unchecked conversion to > > go between a System.Address and a boolean pointer. Thus > > when the 'snapshot' is created, it then references the > > boolean pointer element to the array of the record to the > > 'Address of the boolean component. Whew! > > "Since we are safety critical, we have been forbidden from > doing this in the safe and reliable way, and have instead > rigged up a highly non-portable unsafe way of doing things > that may or may not work, but it seems to work OK, so we > guess it's OK, though it leaves us feeling uncomfortable". That's a good point. Take a close look at the actual requirements you have. Its possible that only UNCHECKED_DEALLOCATION is prohibited. That would make allocators just fine, as long as you only use a limited amount of them. T.E.D. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own