comp.lang.ada
 help / color / mirror / Atom feed
From: joe@petsd.UUCP (Joe Orost)
Subject: Re: Record rep specs for private components
Date: 17 Jun 89 16:43:01 GMT	[thread overview]
Message-ID: <1634@petsd.UUCP> (raw)
In-Reply-To: 1620@petsd.UUCP

In article <1620@petsd.UUCP> I write:
>We're having a discussion within the posix-ada group about the legality of
>record rep-specs for record components of a private type.  I want to find
>out what current compilers accept.  Can a few of you try this on various Ada 
>compilers (Don't bother if you have VERDIX or SYSTEAM; I tried those):
>
>   package a is
>      type aa is private;
>   private
>      type aa is range 0..1000;
>   end a;
>
>   with a;
>   package b is
>      type bb is record
>         bbb : a.aa;
>      end record;
>      for bb use record
>        at mod 2;
>        bbb at 0 range 0..15;       --Legal?
>      end record;
>      x : bb;
>   end b;
>
Here is the summary:

	Compiler	Legal?
	   V		  Y
	   S		  N
	   D		  Y
	   A		  Y

Looks like compiler S has a problem.

--joe@petsd.ccur.com

  reply	other threads:[~1989-06-17 16:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1989-06-10  0:16 Record rep specs for private components Joe Orost
1989-06-17 16:43 ` Joe Orost [this message]
  -- strict thread matches above, loose matches on Subject: below --
1989-06-18 14:30 Edward Berard
1989-06-20 13:06 ` Joe Orost
1989-06-23 19:57   ` Goodenough
1989-06-24 16:30     ` Edward Berard
replies disabled

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