ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Re: gcc
Date: Tue, 1 Jan 2002 17:01:12 +0300
Message-ID: <20020101140112.GA1807@localhost.localdomain> (raw)
In-Reply-To: <005301c19226$c0551ae0$3100a8c0@greycat>

Hello Mikhail,

On Mon, Dec 31, 2001 at 09:12:41PM +0300, Mikhail Yakshin wrote:
>
> > > Копался я тут недавно с 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. Попробуйте через
> него прогнать?

Действительно, есть. Но это не критично (ошибка возникает в любом
случае), да и текущая версия GCC уже 3.0.3.

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
No matter how old a mother is, she watches her middle-aged children for
signs of improvement.
		-- Florida Scott-Maxwell



  reply	other threads:[~2002-01-01 14:01 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
2002-01-01 14:01     ` Mikhail Zabaluev [this message]
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=20020101140112.GA1807@localhost.localdomain \
    --to=mhz@alt-linux.org \
    --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