ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Slava Semushin <slava.semushin@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] -Werror приводит к ошибкам в системных хедерах
Date: Mon, 9 Mar 2009 14:40:35 +0600
Message-ID: <75e139a00903090140o563c4f20r6d6db588fe85a7ba@mail.gmail.com> (raw)
In-Reply-To: <20090105171009.GC30554@wo.int.altlinux.org>

2009/1/5 Dmitry V. Levin <ldv@altlinux>:
> On Mon, Jan 05, 2009 at 03:36:54PM +0600, Slava Semushin wrote:
>> Здравствуйте!
>>
>> Собираю новую версию mpdscribble. Включил --enable-werror и получаю:
>>
>> gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -I/usr/include/glib-2.0
>> -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0
>> -I/usr/lib/glib-2.0/include   -I/usr/include/libsoup-2.4
>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I./src
>> -I./src/libmpdclient -DFILE_CONF='"/usr/local/etc/mpdscribble.conf"'
>> -Werror -pedantic-errors -DNDEBUG -Wall -Wextra
>> -Wno-deprecated-declarations -Wmissing-prototypes
>> -Wdeclaration-after-statement -Wshadow -Wpointer-arith
>> -Wstrict-prototypes -Wcast-qual -Wwrite-strings -g -O2
>
> Сочетание -std=gnu99 -pedantic-errors -Wall -Wextra -Werror
> в glibc не поддерживается.  Предлагаю -pedantic-errors убрать.
>
>> In file included from /usr/include/sys/syslog.h:207,
>>                  from /usr/include/syslog.h:1,
>>                  from src/log.c:32:
>> /usr/include/bits/syslog.h: In function 'syslog':
>> /usr/include/bits/syslog.h:32: error: ISO C forbids 'return' with
>> expression, in function returning void
>> /usr/include/bits/syslog.h: In function 'vsyslog':
>> /usr/include/bits/syslog.h:48: error: ISO C forbids 'return' with
>> expression, in function returning void
>> make[1]: *** [log.o] Ошибка 1
>>
>> А тут как быть?
>
> Это можно исправить, но вылезет где-нибудь в другом месте.

Да, действительно:

http://git.altlinux.org/tasks/2258/build/1/i586/log

:-(

-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

      parent reply	other threads:[~2009-03-09  8:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05  9:36 Slava Semushin
2009-01-05 12:33 ` Ivan A. Melnikov
2009-01-05 12:50 ` Alexey I. Froloff
2009-01-05 13:24   ` Ivan A. Melnikov
2009-01-05 17:10 ` Dmitry V. Levin
2009-01-05 20:29   ` Slava Semushin
2009-01-05 21:41     ` Dmitry V. Levin
2009-03-09  8:40   ` Slava Semushin [this message]

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=75e139a00903090140o563c4f20r6d6db588fe85a7ba@mail.gmail.com \
    --to=slava.semushin@gmail.com \
    --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