🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1953

Re: QuickC Fatal Error, Automatic Allocation Exceeds 32k

#1953
From: Richard Stanton
Date: Tue, 21 Aug 1990 01:30
16 lines
1325 bytes
In article <26D06DA7.5617@orion.oac.uci.edu>,
eabg020@orion.oac.uci.edu (Donald Doherty) writes:
>I am getting the fatal-error message "automatic allocation exceeds 32k"
>while compiling in the QuickC environment.  Evidently the space allocated
>for the local variables of the "main" function is 32k and, due to the
>fact that the program is math intensive with several variables (mostly
>of type double and several arrays), I have exceeded this limit.
>
>It is not clear to me how to change the amount of memory allocated to the
>local variables of any one function.
>
Declaring the variables static may help; I'm not sure. One way that
would get around this problem is to use dynamic memory allocation
for your arrays, using functions malloc etc.

Richard Stanton
Technical Details
Message-ID: <1990Aug21.013024.20945@morrow.stanford.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!shelby!morrow.stanford.edu!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!shelby!morrow.stanford.edu!news
From: LC.YRS@forsythe.stanford.edu (Richard Stanton)
Newsgroups: comp.os.msdos.programmer
Subject: Re: QuickC Fatal Error, Automatic Allocation Exceeds 32k
Message-ID: <1990Aug21.013024.20945@morrow.stanford.edu>
Date: 21 Aug 90 01:30:24 GMT
Sender: news@morrow.stanford.edu (News Service)
Distribution: usa
Organization: Data Center, Stanford University, California, USA
Lines: 16