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,fd173879a595bde X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!ALLTEL.NET-a2kHrUvQQWlmc!not-for-mail Date: Fri, 04 Nov 2005 08:33:25 -0600 From: "Marc A. Criley" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Default rep specs for record types - documented?? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <12d68$436b7143$499545a$1561@ALLTEL.NET> X-Complaints-To: abuse@usenetserver.com Organization: UseNetServer.com X-Trace: 12d68436b7143a13cf1ff01561 Xref: g2news1.google.com comp.lang.ada:6189 Date: 2005-11-04T08:33:25-06:00 List-Id: Stephen Leake wrote: > One problem is that the compiler does _not_ warn you if you leave a > component out of the rep clause; a 'pragma Complete_Representation' > would be nice. Specifying the total size can mitigate this, but I > recently had a bug due to this problem. A couple years ago the idea of adding such a pragma, albeit with some other name, was submitted to the ARG, and there was some discussion on it. It was ultimately rejected due to being, as I vaguely recall, of being of insufficient value to justify the effort. (Though I think Randy B offered to implement it in Janus Ada if someone would buy a copy of Janus and request that it be added. But that was then.) -- Marc A. Criley -- McKae Technologies -- DTraq - XPath In Ada - XML EZ Out