From: php-coder <dont.ask.me.about.php@gmail.com>
To: devel@lists.altlinux.org
Subject: [devel] Как правильно собирать пакеты с -Werror?
Date: Mon, 23 Jan 2006 22:04:33 +0600
Message-ID: <20060123160433.GA31866@mycomp.mydomain> (raw)
Привет всем!
Хочу собирать (и часть уже собрал) пакеты с включенной опцией -Werror.
Для её активации, как я понял, нужно всего ли определить %def_enable
Werror в начале спека.
Но вот наткнулся на одну проблему: configure когда делает свои
проверки использует помимо остальных флагов также и этот. Точнее, он
использует CFLAGS. И в итоге оказывается, что часть его тестов
с -Wall -Werror не компилятся и возвращают не нулевой результат. В
результате он решает, что, к примеру, какая-то ф-ция не доступна, хотя это
и не так.
Вопрос: как это победить? Должен ли configure использовать максимально
точные проверки, или же он не должен компилить свои примеры не беря
флаги из CFLAGS или же есть ещё какие-то варианты?
Благодарю за помощь!
P.S. .oO( неужели придется после configure патчить сгенерированные
Makefile? )
--
+ php-coder
+ php-coder[at]altlinux[dot]ru
next reply other threads:[~2006-01-23 16:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-23 16:04 php-coder [this message]
2006-01-24 15:01 ` Dmitry V. Levin
2006-01-24 18:08 ` php-coder
2006-01-24 18:08 ` [devel] " Michael Shigorin
2006-01-24 18:12 ` Ivan Fedorov
2006-01-24 18:46 ` Led
2006-01-24 19:09 ` php-coder
2006-01-24 19:51 ` Andrey Rahmatullin
2006-01-24 20:33 ` Ivan Fedorov
2006-01-25 5:08 ` Andrey Rahmatullin
2006-02-03 11:57 ` [devel] Re: Как правильно собирать пакеты с -Werror? [JT] php-coder
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=20060123160433.GA31866@mycomp.mydomain \
--to=dont.ask.me.about.php@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