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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ab36006a122bb868 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Overlay allowability Date: 2000/05/09 Message-ID: <8f9npd$pep$1@nnrp1.deja.com>#1/1 X-Deja-AN: 621227051 References: <390D94FB.D23390D4@lmco.com> <8eketr$i3c$1@nnrp1.deja.com> <3910514D.13BF2DE1@Raytheon.com> <8es7n2$7lk$1@nnrp1.deja.com> <3916D7F4.178B4FDE@Raytheon.com> <8f744h$s38$1@nnrp1.deja.com> <39184D91.13BA15B4@Raytheon.com> X-Http-Proxy: 1.0 x29.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue May 09 19:09:48 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I) Date: 2000-05-09T00:00:00+00:00 List-Id: In article <39184D91.13BA15B4@Raytheon.com>, "Samuel T. Harris" wrote: > problems across compiler implementations. It is rare that > such interfacing code deals with unconstrainted arrays > or polymorphic variant records. Usually just run-of-the-mill > scalars, static records, and constrainted arrays. The typical use I've seen of it (UC-ing addresses into object pointers) is in converting random data objects into arays of bytes. Since the base type for one side is typically an unconstrained array of bytes, I think this is quite likely to be an issue. Usually this is done to convert some nice user data structure into something an entity outside of Ada (such as an OS call) can deal with. Just about any other use is going to be a hack around a badly-chosen type. Thus the Right Thing would be to redesign the type. -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.