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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2cf15adb9e50d90b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-04-16 01:24:39 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!news.mediascape.de!news-FFM2.ecrc.net!news.iks-jena.de!not-for-mail From: Lutz Donnerhacke Newsgroups: comp.lang.ada Subject: Re: Representation Freezing Rules vs. Storage management Date: Fri, 16 Apr 2004 08:24:38 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: <3202ddcf.0404150636.24cad17b@posting.google.com> NNTP-Posting-Host: taranis.iks-jena.de X-Trace: branwen.iks-jena.de 1082103878 11198 217.17.192.37 (16 Apr 2004 08:24:38 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Fri, 16 Apr 2004 08:24:38 +0000 (UTC) User-Agent: slrn/0.9.8.0 (Linux) Xref: archiver1.google.com comp.lang.ada:7197 Date: 2004-04-16T08:24:38+00:00 List-Id: * Reinhold May wrote: > The application has definitions like: > > a : array(1 .. 10) of integer; type A_Array is array(1 .. 10) of Integer; a : A_Array; for a'Address use get_address(A_Array'Size, A_Array'Alignment); > the type is defined implicitely rather than explicitely. So the > type would have to be defined explicitly on each occurrence. Ack. > The type of a variable is not always easy to find out and trying > that would require a full Ada parser (but of course that's > feasible). You do not know what you type in? > Any pointer into the right direction is very welcome. Use dynamic allocation from a user defined pool.