From: Caffeine Junky <nospam@hotmail.com>
Subject: Re: How does this look?
Date: Sun, 14 Jul 2002 10:46:18 GMT
Date: 2002-07-14T10:46:18+00:00 [thread overview]
Message-ID: <_DcY8.524447$cQ3.46097@sccrnsc01> (raw)
In-Reply-To: gs9Y8.18082$Lk7.415124602@newssvr21.news.prodigy.com
On Sun, 14 Jul 2002 03:09:00 -0400, tmoran wrote:
>> > You might first ask your compiler.
>>
>> It compiled into an object file without any errors. Guess I'm
>> overlooking something.
>
> I suspect you didn't try a little dummy program that instantiates
> safer_genstack. Some compilers wait till you try to instantiate before
> they complain about
> for Stack'Storage_Size use Cell'Max_Size_In_Storage_Elements *
> Max;
> appearing too late.
Hmmm....you do make a good point.
I tried
S'Size := Cell'Max_Size_in_Storage_Elements * Max;
in the body of the package and I get this...
S'Size := Cell'Max_Size_in_Storage_Elements * Max;
|
>>>Declaration Expected
which seems pretty redundant as S is already declared in the spec file.
You know, I didnt have much trouble with other segments of Ada(so far),
but Storage Pools are really starting chaffe my ass. It seems like I
could re-declare the same variable a dozen times in each of a dozen
different packages of a program, and the compiler would still keep asking
me to re-declare it. S WAS ALREADY DECLARED! The only thing I can chalk
it up to is a bug in the compiler, either it's giving false errors or the
error message needs to be re-written to make sense.
Please be patient, I'm a little tired and cranky after going over this
for the 137th time.
Anyways, thanks.
St4pL3
next prev parent reply other threads:[~2002-07-14 10:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-14 3:09 How does this look? Caffeine Junky
2002-07-14 3:49 ` tmoran
2002-07-14 4:51 ` Caffeine Junky
2002-07-14 7:09 ` tmoran
2002-07-14 10:46 ` Caffeine Junky [this message]
2002-07-14 17:17 ` martin.m.dowie
2002-07-14 19:13 ` tmoran
2002-07-15 22:19 ` Caffeine Junky
2002-07-17 5:08 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox