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.6 required=5.0 tests=BAYES_00,FROM_WORDY, LOTS_OF_MONEY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,269df2c167555fd6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-24 06:46:08 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!hub.org!hub.org!newsfeed.wirehub.nl!howland.erols.net!nntp.flash.net!newscon06.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!newssvr16.news.prodigy.com.POSTED!not-for-mail From: "Ken Garlington" Newsgroups: comp.lang.ada References: <3a95c52f@post.usenet.com> Subject: Re: Representation clause Organization: Prodigy (ex-FlashNet) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: NNTP-Posting-Host: 65.65.210.103 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr16.news.prodigy.com 983025957 6207069 65.65.210.103 (Sat, 24 Feb 2001 09:45:57 EST) NNTP-Posting-Date: Sat, 24 Feb 2001 09:45:57 EST Date: Sat, 24 Feb 2001 14:45:57 GMT Xref: supernews.google.com comp.lang.ada:5509 Date: 2001-02-24T14:45:57+00:00 List-Id: "David C. Hoos, Sr." wrote in message news:fEOl6.129219$Ch.23956265@newsrump.sjc.telocity.net... : -- The enumeration's 'Size attribute must be the same as that of : -- the representation type, else a compile error will occur when : -- instantiating the generic package. : for Colors'Size use Integer'Size; By the way: on GNAT 3.13p, the following will generate a compiler _warning_, but will compile: for Colors'Size use 3; The test program also ran successfully. You may wish to modify the comments appropriately.