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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,514627f9964b6e38 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Using the GNAT defined attribute: 'Enum_Rep Date: 1997/09/06 Message-ID: #1/1 X-Deja-AN: 270371273 References: <97082719523509@psavax.pwfl.com> <340D6C5D.2E53@pseserv3.fw.hac.com> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-09-06T00:00:00+00:00 List-Id: W.W.G. says <> No, not at all, the whole point of enumeration types is that this is the one place where Ada *does* have something to say about representation. The ACVC interpretation (and hence what all Ada compilers do), is that if you use an enumeration representation clause, then the representation must match that of integers of the same size. And of course Pos and Val will NOT match representations assigned in this manner. Wes, if we believed your claim above, we would be believing that enumeration representation clauses have no runtime semantics. That is not the case!