delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/30/06:43:58

Date: Mon, 30 Mar 1998 14:40:59 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Federico Spinazzi <federico AT SysPr03 DOT disat DOT unimi DOT it>
cc: Nicolas Blais <eletech AT netrover DOT com>, djgpp AT delorie DOT com
Subject: Re: Why won't this work?
In-Reply-To: <Pine.LNX.3.93.980330123304.23359A-100000@SysPr03.disat.unimi.it>
Message-ID: <Pine.SUN.3.91.980330143740.19854A-100000@is>
MIME-Version: 1.0

On Mon, 30 Mar 1998, Federico Spinazzi wrote:

> You can declare an array for com:
> char com[22222222222222];
           ^^^^^^^^^^^^^^
This is *way* too much.  If you compile such a program it will bomb, 
since automatic arrays cannot be larger than 256KB without changing the 
default stack size.  See section 15.9 of the DJGPP FAQ list, for more 
about this.

You should always try to compile your code before suggesting that others 
use it (or at least say it is untested).

- Raw text -


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