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.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c6e6cdf6ff50e684,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-08 02:04:19 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Sandro Binetti Newsgroups: comp.lang.ada Subject: Representation clause for enumeratives Date: Thu, 08 Feb 2001 09:53:54 GMT Organization: Deja.com Message-ID: <95tqbh$ag7$1@nnrp1.deja.com> NNTP-Posting-Host: 195.223.220.65 X-Article-Creation-Date: Thu Feb 08 09:53:54 2001 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0) X-Http-Proxy: 1.1 ssi21:3128 (Squid/2.3.STABLE4), 1.0 x56.deja.com:80 (Squid/1.1.22) for client 172.27.66.71, 195.223.220.65 X-MyDeja-Info: XMYDJUIDsandrobinetti Xref: supernews.google.com comp.lang.ada:4968 Date: 2001-02-08T09:53:54+00:00 List-Id: Hi everybody, Suppose you have an enumerative type like the following: type TYP_ENUM is (A,B,C); for TYP_ENUM use( 16#00000002#, 16#00000004#, 16#80000000# -- <<<<< NOTICE THIS VALUE !!! ); My GHS AdaMulti compiler reports this error: LRM:4.9(35), The static expression which is not part of a larger static expression is outside the base range of its expected type. My Gnat compiler, on the other side, does not say anything. What's wrong with this such a 16#80000000# value? -- Ciao, Sandro Sent via Deja.com http://www.deja.com/