From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Content-Type: text/plain; charset="koi8-r" From: Vitaly Lipatov Organization: LAVNet To: sisyphus@altlinux.ru Subject: Re: [sisyphus] gcc Date: Sun, 30 Dec 2001 20:50:16 +0300 X-Mailer: KMail [version 1.3.2] References: <20011230165236Z816097-1157+74233@gnome04.sovam.com> In-Reply-To: <20011230165236Z816097-1157+74233@gnome04.sovam.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20011230175016.DD6D710B84@VL3143.spb.edu> Content-Transfer-Encoding: 8bit Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Archived-At: List-Archive: On 30 December 2001 19:52, Mikhail Yakshin wrote: > #define MAX 1000000 > > void main() > { >     FILE *f; >     int a, b; >     int c[MAX][MAX]; > } [lav@lav play]$ cat test.c #define MAX 1000000 void main() { int a, b; int c[MAX][MAX]; } [lav@lav play]$ gcc test.c test.c: In function `main': test.c:5: size of array `c' is too large test.c:5: confused by earlier errors, bailing out [lav@lav play]$ gcc -v Reading specs from /usr/lib/gcc-lib/i586-alt-linux/2.96/specs gcc version 2.96 20000731 (ALT Linux, build 2.96-ipl14mdk) -- Lav Виталий Липатов ФГУП "ЦНИИ Судовой Электротехники и Технологии", Санкт-Петербург GNU! Linux! LaTeX! LyX!