From: wtanksle AT dolphin DOT openprojects DOT net (William Tanksley) Newsgroups: comp.os.msdos.djgpp Subject: Re: Function Stack References: <3783B9AF DOT F1E6F320 AT addr DOT com> Message-ID: User-Agent: slrn/0.9.5.3 (UNIX) Lines: 15 Date: Wed, 07 Jul 1999 23:02:53 GMT NNTP-Posting-Host: 24.4.83.145 X-Complaints-To: abuse AT home DOT net X-Trace: news.rdc1.sdca.home.com 931388573 24.4.83.145 (Wed, 07 Jul 1999 16:02:53 PDT) NNTP-Posting-Date: Wed, 07 Jul 1999 16:02:53 PDT Organization: @Home Network To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Wed, 07 Jul 1999 13:33:51 -0700, Ardy Falls wrote: > How much stack can be allocated for a function? I have a function >that (overflows the stack I guess) and when I try to accsess some of the >varibals (such as a=b) it writes into other functions memory and writes >to the global varibals. why? and how to fix this bug. It sounds to me like your function is referencing some pointers, or going past the end of an array. Can you reduce the bug to a minimal form and post it here? > thanks, > Ardy -- -William "Billy" Tanksley