From: Tucker Taft <stt@averstar.com>
Subject: Re: Calling all language lawyers....
Date: Wed, 06 Jun 2001 12:10:25 -0400
Date: 2001-06-06T16:10:25+00:00 [thread overview]
Message-ID: <3B1E55F1.4AC27776@averstar.com> (raw)
In-Reply-To: 3B1E34E1.70D8BD0@ftw.rsc.raytheon.com
Wes Groleau wrote:
>
> Is there anything anywhere that prohibits using a subtype
> in pragma Convention? I've dug around in Annex B in the
> RM & AARM and found no such language. (Nor did I find any
> requiring it to be supported.)
>
> I'm porting some code that did this to a compiler
> that doesn't allow it.
Pragma convention defines a type-related convention
(all subtypes of a type have the same convention), so
it only makes sense to apply it to a first subtype.
The proof that pragma convention is type-related is
based on the statement in RM95 13.1(8) which
says only Size and Alignment clauses specify subtype-specific
representation aspects. All other representation items
identifying subtypes are specifying type-related representation
aspects. Pragma convention specifies the "convention"
aspect of representation (RM95 B.1(28)).
>
> --
> Wes Groleau
> http://freepages.rootsweb.com/~wgroleau
--
-Tucker Taft stt@avercom.net http://www.avercom.net
Chief Technology Officer, AverCom Corporation (A Titan Company)
Burlington, MA USA (AverCom was formerly the Commercial Division of AverStar:
http://www.averstar.com/~stt)
next prev parent reply other threads:[~2001-06-06 16:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-06 13:49 Calling all language lawyers Wes Groleau
2001-06-06 15:52 ` Jeffrey Carter
2001-06-06 16:10 ` Tucker Taft [this message]
2001-06-06 17:20 ` Adam Beneschan
2001-06-11 21:29 ` Wes Groleau
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox