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-Thread: 103376,f924a751f0e5a4b3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Wed, 14 Dec 2005 18:10:11 -0600 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: <1134499582.913837.213460@g43g2000cwa.googlegroups.com> Subject: Re: Ada83/95 Compatibility Date: Wed, 14 Dec 2005 18:14:32 -0600 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4952.2800 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4952.2800 Message-ID: NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-2bwHl+vZJen2QK26BCYc0gsLp2aKDCIj2CvYctJaFTOwJKROlhV0JdEWANdLZb6JnzrUhL5V1jsJM3i!tuJ3Te1bR4ejby7FbTUIpLoHmhyFHJ4x9UEvQ6XGhHvHAnpz0CZ1NvVK4Quq9aDypmJYqgwScYK1 X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:6882 Date: 2005-12-14T18:14:32-06:00 List-Id: wrote in message news:1134499582.913837.213460@g43g2000cwa.googlegroups.com... ... > Since one can't specify a 'size on a subtype like this it appears that > there really is no way to specify a minimum size for a subtype. That's quite right, unfortunately. GNAT has 'Object_Size to deal with this, and we looked at adding that to Ada 200Y, but it didn't get anywhere (see AI-319). Thus, it isn't very useful to specify 'Size on a subtype (it's only real purpose is to control how tightly components can be packed); it's only really meaningful on objects. Hopefully more compilers will support 'Object_Size (we certainly intend to do so in Janus/Ada). Randy.