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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: 'Size hack for enumerated types Date: Mon, 07 Jul 2014 18:12:39 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="5cbec41b82bafb9ba55107f02585e18b"; logging-data="14092"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19u8tjXj+mvhWqK9RObPnhRRDdBiq34ILQ=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:BRDaVO8ZAPjLFrrolfRCORRkrP4= sha1:RFWrsa3TDebsXJNRy83zr7wvMZE= Xref: number.nntp.dca.giganews.com comp.lang.ada:187431 Date: 2014-07-07T18:12:39+01:00 List-Id: Victor Porton writes: > Where in the Reference Manual it is said that Ada enumeration types > are "equivalent" to C int (=enum) type? Annex B.1 (http://www.ada-auth.org/standards/12rm/html/RM-B-1.html), 2 The Convention aspect is used to indicate that an Ada entity should use the conventions of another language. 21 If the Convention aspect is specified for a type, then the type shall either be compatible with or eligible for the specified convention.