From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 24 Jul 93 21:16:58 GMT From: mdisea!uw-coco!nwnexus!emagnuso@uunet.uu.net (Erik Magnuson) Subject: Re: Forcing default representations Message-ID: <22s8sa$a7p@nwfocus.wa.com> List-Id: In article <9307221834.AA03070@eight-ball.boeing.com> crispen@eight-ball.boeing .com (Bob Crispen) writes: >By the way, here's a semi-trivial question: Does anyone know of >a real Ada compiler that doesn't assign internal values of integers >(forget the size for a minute) beginning with zero as a default for >enumerations? I know you can't rely on it, but is there actually >a compiler or a machine that doesn't do it the obvious way? What gets my goat is that there are still compilers marketed for embedded systems that do not recognize when a enumeration rep spec repeats the canonical values that they do not have to generate the (expensive) code to translate between the values! -- Erik