ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergei Epiphanov <serpiph@nikiet.ru>
To: "Рассылка Devel" <devel@lists.altlinux.org>
Subject: [devel] gcc4.3 и gcc4.4
Date: Tue, 15 Sep 2009 12:59:19 +0400
Message-ID: <200909151259.19417.serpiph@nikiet.ru> (raw)

[-- Attachment #1: Type: Text/Plain, Size: 678 bytes --]

Сейчас пробую использовать gcc4.3 и gcc4.4 с параметром -std=c99. И никак не 
могу понять: есть включённый заголовок:
#include <resolv.h>

Если GCC вызывать без параметра -std=c99, то программа собирается, если же 
добавить этот параметр, то начинают сыпаться ошибки файлов 
/usr/include/arpa/nameser.h и /usr/include/arpa/nameser_compat.h (приложено в 
аттаче). В чём причина - никак не разберусь. Работает ли параметр (-std=c99)? 
Ошибки сыплются даже если в файле только одно это подключение.

glibc-2.10.1-alt6
gcc4.3-4.3.2-alt13
gcc4.4-4.4.1-alt1
$ rpm -qf /usr/include/arpa/nameser.h
glibc-devel-2.10.1-alt6
$

Система - вчерашний Сизиф.

-- 
С уважением, Епифанов Сергей

[-- Attachment #2: ERR.out.gz --]
[-- Type: application/x-gzip, Size: 705 bytes --]

             reply	other threads:[~2009-09-15  8:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15  8:59 Sergei Epiphanov [this message]
2009-09-15  9:16 ` Dmitry V. Levin
2009-09-15  9:47   ` Sergei Epiphanov
2009-09-15  9:50     ` Dmitry V. Levin
2009-09-15 10:15       ` [devel] gcc4.3 и gcc4.4 с параметром -std=c99 Sergei Epiphanov
2009-09-15 10:25         ` Dmitry V. Levin

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=200909151259.19417.serpiph@nikiet.ru \
    --to=serpiph@nikiet.ru \
    --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