From: azimmer@rsa.hisd.harris.com (Alan D Zimmerman, Loral RSA)
Subject: Re: Rational Compiler Problem ??
Date: Mon, 26 Sep 1994 12:50:49 GMT
Date: 1994-09-26T12:50:49+00:00 [thread overview]
Message-ID: <CwqMCq.F39@jabba.ess.harris.com> (raw)
In-Reply-To: 35ur1m$9n3@source.asset.com
In article 9n3@source.asset.com, mcconnel@source.asset.com (Andrew R. McConnell) writes:
> HP/Rational platform, warning messages(not errors) are generated:
>
> 104: type Text_Field ( The_Text_Size : Positive := 1 ) is
> 105: record
> A ---------^
> A:warning: RM Appendix F: storage needed for component exceeds implementation li
> mit
Isn't the problem here that the compiler will allocate a string of size postitive'size.
It looks like the HP won't allow you to create strings that big. I think a more portable
way to accomplish this would be to create a type text_size that is constrained to be
the size allowable for strings (e.g. 1..256 or 1..512).
Just my $0.02 worth :->
Alan Zimmerman
Software Engineer
Loral Space & Range Systems
Views and opinions are my own.
prev parent reply other threads:[~1994-09-26 12:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-23 15:08 Rational Compiler Problem ?? Andrew R. McConnell
1994-09-23 16:33 ` Kent Mitchell
1994-09-24 21:19 ` Bob Duff
1994-09-26 12:50 ` Alan D Zimmerman, Loral RSA [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox