On Fri, Oct 31, 2003 at 09:53:38PM -0500, Koen van der Drift wrote:

> Yes, here is a snippet:
> 
> static int myarray[20][10000]
> static int anotherarray[20][10000]
> 
> int main (int argc char** argv)
> {
>       int labels[20];
>       int names[10000];
>       float num[10000];

These variables in main are probably the cause of the overflow, not the
static ones.  You might just try declaring 'names' and 'num' to be
static, but I wouldn't expect the sizes given to overflow the stack.

If I try a program similar to what you've given, it doesn't cause any
overflows.

Dave


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to