From: adam@irvine.com (Adam Beneschan)
Subject: Re: Calling all language lawyers....
Date: 6 Jun 2001 10:20:41 -0700
Date: 2001-06-06T17:20:41+00:00 [thread overview]
Message-ID: <b4682ab7.0106060920.25db8d92@posting.google.com> (raw)
In-Reply-To: 3B1E34E1.70D8BD0@ftw.rsc.raytheon.com
Wes Groleau <wwgrol@ftw.rsc.raytheon.com> wrote in message news:<3B1E34E1.70D8BD0@ftw.rsc.raytheon.com>...
> 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.
B.1(28) says that the Convention pragma is a representation pragma. 13.1(1)
says that representation pragmas are one kind of _representation item_.
13.1(8) says that representation items are either "subtype-specific" or
"type-related", with all representation items other than Size and Alignment
clauses being type-related. The same paragraph says that the name in
a type-related representation pragma must denote a first subtype.
So I think using a subtype (other than the first subtype) in the Convention
pragma is indeed prohibited by the language.
-- Adam
next prev parent reply other threads:[~2001-06-06 17:20 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
2001-06-06 17:20 ` Adam Beneschan [this message]
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