ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] #include_next
Date: Thu, 2 Dec 2010 18:54:55 +0200
Message-ID: <20101202165455.GA12763@shutemov.name> (raw)
In-Reply-To: <4CF78232.3020703@mmedia2.kemsu.ru>

On Thu, Dec 02, 2010 at 05:25:38PM +0600, REAL wrote:
> 02.12.2010 17:16, REAL пишет:
> >> Нужен простой test-case, который показывает проблему с gcc. Без всяких
> >> upcc.
> >
> > См. выше. Простой тесткейс - файл с названием hello.trans.c
> 
> http://iais.kemsu.ru:8080/hello.trans.c
> 
> Собирать при помощи gcc (нужен установленный berkeley_upc).
> 
> > Что интересно, если в файлах /usr/include/upcr_geninclude/stdio.h,
> > /usr/include/upcr_geninclude/stdlib.h и
> > /usr/include/upcr_geninclude/stddef.h заменить #include_next на
> > #include, всё работает как надо. Вот мне и интересно, что не так с
> > этим #include_next.

Судя, по тому что

echo '#include <stddef.h>' | gcc -E -I/usr/include/upcr_geninclude/ -

работает как надо, я думаю проблема совсем не в gcc.

Ищите ошибку в коде который пытаетесь собрать.

-- 
 Kirill A. Shutemov


  reply	other threads:[~2010-12-02 16:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-02  9:24 REAL
2010-12-02 11:00 ` REAL
2010-12-02 10:59   ` Kirill A. Shutemov
2010-12-02 11:16     ` REAL
2010-12-02 11:25       ` REAL
2010-12-02 16:54         ` Kirill A. Shutemov [this message]
2010-12-03  4:31           ` REAL
2010-12-03  4:36             ` REAL
2010-12-03  8:11               ` REAL

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=20101202165455.GA12763@shutemov.name \
    --to=kirill@shutemov.name \
    --cc=devel@lists.altlinux.org \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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