Mail Archives: djgpp/1999/07/07/20:05:34

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/ (UNIX)
Lines: 15
Date: Wed, 07 Jul 1999 23:02:53 GMT
X-Complaints-To: abuse AT home DOT net
X-Trace: 931388573 (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

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019