home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6090 < prev    next >
Encoding:
Text File  |  1996-08-05  |  945 b   |  24 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: news.eunet.fi!nullnet!tna!marcus.alanen
  3. From: marcus.alanen@tna.nullnet.fi (Marcus Alanen)
  4. Subject: Re: Ceck out this bug. Wh
  5. Message-ID: <64_5607@tna.nullnet.fi>
  6. References: <1120.6643T91T406@login.eunet.no> <885.6646T9T693@login.eunet.no> <755.6652T1180T2805@login.eunet.no>
  7. Organization: The New Age BBBS
  8. Sender: news@tna.nullnet.fi (News Administrator)
  9. Date: 23 Mar 1996 21:35:52 +0200
  10.  
  11. >>You should change the value in your code by adding the following line
  12. >>external to any function:
  13. >>   long _STKNEED = 1024;
  14. > Yeah, it will do, but its a litte anoying having it in the source
  15. > though.
  16.  
  17.     Hmm... isn't there a way to know how much stack space a function
  18.     allocates? THen it would be possible for the compiler to automatically
  19.     set the "long _STKNEED = xxxxx" line when compiling the program.
  20.     Or have I missed something here?-)
  21.  
  22.     Marcus Alanen
  23.     marcus.alanen@tna.nullnet.fi
  24.