From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: String parameters to exported routines - What should a compiler do?
Date: 1997/06/07
Date: 1997-06-07T00:00:00+00:00 [thread overview]
Message-ID: <dewar.865693293@merv> (raw)
In-Reply-To: EBB0vA.KqG@world.std.com
Bob Duff said
<<>Here is an example:
>
> procedure S (Item : String);
> pragma Export (C, S);
>
>Should this be legal or should the declaration of S be rejected?
IMHO it should be legal.
>>
and then goes on to mumble about what it might actually mean :-) :-)
In my view this should be illegal. One could supply default bounds, e.g.
in this case 1 .. Natural'Last, but I do not consider this helpful. If you
want to deal with the type
subtype Big_String is String (Natural);
then it is better to do so explicitly
next prev parent reply other threads:[~1997-06-07 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-03 0:00 String parameters to exported routines - What should a compiler do? Kevin D. Heatwole
1997-06-05 0:00 ` Robert A Duff
1997-06-07 0:00 ` Robert Dewar [this message]
1997-06-09 0:00 ` Tucker Taft
1997-06-10 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox