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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9e499c74312ed3f0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-18 06:56:41 PST Path: archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!isdnet!psinet-france!psiuk-f4!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Static assertions Date: Fri, 18 May 2001 09:39:30 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9e38mj$d3s$1@nh.pace.co.uk> References: <9e0pfb$ao9$1@s1.read.news.oleane.net> <3B040DE4.468E779F@boeing.com> <9e17la$km6$1@nh.pace.co.uk> <3B0451F7.6D5B7024@boeing.com> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 990193171 13436 136.170.200.133 (18 May 2001 13:39:31 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 18 May 2001 13:39:31 GMT 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 Xref: archiver1.sj.google.com comp.lang.ada:7635 Date: 2001-05-18T13:39:31+00:00 List-Id: Well, that settles that one. I thought there was a chance that you might have been declaring something that was a subtype or derived type or your own user defined type with a "for 'Size..." clause where just because you said you wanted 16 bits, doesn't mean you get it. If "Integer'Size=32" is a true statement, its hard to see "Integer'Size=16" simultaneously being true except via compiler bug. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Jeffrey Carter" wrote in message news:3B0451F7.6D5B7024@boeing.com... > The code was identical to that posted by JPR, except that 32 was changed > to 16, and 4 was changed to 8. This makes both expressions False (for > me, but I would hope at least one of them would be False on every > system). The test program simply used Integer'Image and Put_Line to > output the values of the 2 constants. >