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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c6e6cdf6ff50e684 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-08 07:55:54 PST Path: supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!xfer13.netnews.com!netnews.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.mindspring.net!not-for-mail From: Marin David Condic Newsgroups: comp.lang.ada Subject: Re: Representation clause for enumeratives Date: Thu, 08 Feb 2001 10:55:27 -0500 Organization: MindSpring Enterprises Message-ID: <3A82C16F.16A74B92@acm.org> References: <95tqbh$ag7$1@nnrp1.deja.com> <95tre2$f33@news.kvaerner.com> <95u470$ho1$1@nnrp1.deja.com> NNTP-Posting-Host: d1.56.b1.c9 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Server-Date: 8 Feb 2001 15:55:46 GMT X-Mailer: Mozilla 4.07 [en] (WinNT; I) Xref: supernews.google.com comp.lang.ada:4998 Date: 2001-02-08T15:55:46+00:00 List-Id: There is no law that says a compiler has to honor your representation clause. It can legally recognize the rep clause and just simply reject it. It is possible that your compiler has some built-in limitation that prohibits using an unsigned, 32 bit representation for an enumeration. Check with the compiler documentation or the compiler vendor. MDC Sandro Binetti wrote: > In article <95tre2$f33@news.kvaerner.com>, > "Tarjei T. Jensen" wrote: > > Have you tried to insert a size directive. e.g > > > > type TYP_ENUM is (A,B,C); > > > > for TYP_ENUM'size use 32; > > Done. But the problem is still the same ... > Why? > > -- > Ciao, Sandro > > Sent via Deja.com > http://www.deja.com/ -- ====================================================================== Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/ Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m Visit my web site at: http://www.mcondic.com/ "I'd trade it all for just a little more" -- Charles Montgomery Burns, [4F10] ======================================================================