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