comp.lang.ada
 help / color / mirror / Atom feed
From: "Eric G. Miller" <egm2@jps-nospam.net>
Subject: Re: Storage Pools and alloca
Date: Wed, 16 Oct 2002 07:32:39 GMT
Date: 2002-10-16T07:32:39+00:00	[thread overview]
Message-ID: <pan.2002.10.16.07.36.41.561696@jps-nospam.net> (raw)
In-Reply-To: 0P_q9.20625$nb.4430@nwrddc02.gnilink.net

In <0P_q9.20625$nb.4430@nwrddc02.gnilink.net>, Frank J. Lhota wrote:

> 
> "Robert A Duff" <bobduff@shell01.TheWorld.com> wrote in message
> news:wcczntfikew.fsf@shell01.TheWorld.com...
>> "Frank J. Lhota" <NOSPAM.lhota.adarose@verizon.net> writes:
>>
>> > C / C++ sometimes cut down on the hassles of memory management by using
> the
>> > "alloca" function. The "alloca" function, which is frequently implicit,
>> > allocates storage from the stack.
>>
>> What do you mean by "frequently implicit"?
> 
> By that I mean the declaration of "alloca" is often followed by
> 
>     #pragma implicit( alloca )

Errm, but "alloca" is not a standard C memory mechanism -- even if it is
available on a number of platforms. And "pragma" in C is almost 100%
platform/compiler specific...





  parent reply	other threads:[~2002-10-16  7:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-15 15:42 Storage Pools and alloca Frank J. Lhota
2002-10-15 16:32 ` Matthew Heaney
2002-10-15 17:26   ` Frank J. Lhota
2002-10-15 18:02     ` David C. Hoos
2002-10-15 19:14 ` Robert A Duff
2002-10-15 20:23   ` Frank J. Lhota
2002-10-15 20:54     ` Robert A Duff
2002-10-16 13:42       ` Frank J. Lhota
2002-10-16  7:32     ` Eric G. Miller [this message]
2002-10-16 13:42       ` Frank J. Lhota
2002-10-19 20:30         ` Eric G. Miller
2002-10-16  5:20   ` 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