comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <marin.condic.auntie.spam@pacemicro.com>
Subject: Re: Static assertions
Date: Fri, 18 May 2001 09:39:30 -0400
Date: 2001-05-18T13:39:31+00:00	[thread overview]
Message-ID: <9e38mj$d3s$1@nh.pace.co.uk> (raw)
In-Reply-To: 3B0451F7.6D5B7024@boeing.com

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" <jeffrey.carter@boeing.com> 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.
>






  reply	other threads:[~2001-05-18 13:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-17 15:07 Static assertions Jean-Pierre Rosen
2001-05-17 17:44 ` Jeffrey Carter
2001-05-17 19:09   ` Marin David Condic
2001-05-17 22:34     ` Jeffrey Carter
2001-05-18 13:39       ` Marin David Condic [this message]
2001-05-18  1:23 ` Robert A Duff
2001-05-19  7:40 ` David Kristola
2001-05-19 22:56   ` Robert A Duff
2001-05-19  8:36 ` Aaro Koskinen
2001-05-21  7:50   ` Jean-Pierre Rosen
2001-06-12  3:59     ` David Thompson
  -- strict thread matches above, loose matches on Subject: below --
2001-05-18  5:34 Christoph Grein
2001-05-18 13:38 ` Robert A Duff
2001-05-18 16:15   ` Jeffrey Carter
2001-05-18 17:25     ` Ted Dennison
2001-05-18 21:27     ` Robert A Duff
2001-05-18 22:46       ` Jeffrey Carter
2001-05-19 22:53         ` Robert A Duff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox