ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Mikhail Yakshin" <yakshin@online.ru>
To: <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Re: gcc
Date: Mon, 31 Dec 2001 21:12:41 +0300
Message-ID: <005301c19226$c0551ae0$3100a8c0@greycat> (raw)
In-Reply-To: <20011230203820.GA23267@localhost.localdomain>

> > Копался я тут недавно с gcc-2.96 сборки из Сизифа и обнаружил, что оно
умеет
> > падать с интернал еррором в ответ на компиляцию такой маленькой штучки:
> >
> > #define MAX 1000000
> >
> > void main()
> > {
> >     FILE *f;
> >     int a, b;
> >     int c[MAX][MAX];
> > }
> >
> > Что вообще говоря нехорошо, вроде как не должно компилятору падать с
> > ошибками...
>
> У меня выдает ошибку раньше -- на использование необъявленного типа FILE.
> Если добавить #include <stdio.h>, то выдает ошибку:
> size of array `c' is too large

> [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

Эта штучка получается при компиляции g++ файла test.cpp. Попробуйте через
него прогнать?

Всех с наступающим!

Пока!




  reply	other threads:[~2001-12-31 18:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-30 16:52 [sisyphus] gcc Mikhail Yakshin
2001-12-30 17:50 ` Vitaly Lipatov
2001-12-30 20:38 ` [sisyphus] gcc Mikhail Zabaluev
2001-12-31 18:12   ` Mikhail Yakshin [this message]
2002-01-01 14:01     ` Mikhail Zabaluev
2002-01-01 17:39       ` Mikhail Yakshin
2002-01-10  9:03         ` Dmitry V. Levin
2002-01-01 19:55     ` Vitaly Lipatov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005301c19226$c0551ae0$3100a8c0@greycat' \
    --to=yakshin@online.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git