From: php-coder <php-coder@altlinux.ru>
To: devel@altlinux.ru
Subject: [devel] Сообщения от компилятора
Date: Sat, 8 Oct 2005 13:21:33 +0700
Message-ID: <20051008062133.GA9811@mycomp.mydomain> (raw)
Здравствуйте!
Собираю маленький аплет wmnetload. В процессе сборки вываливается
много предупреждений, хотя компиляция и заканчивается без ошибок.
Хотелось бы узнать стОит ли добиваться того, чтобы этих предупреждений
не было вообще?
Есть много предупреждений следующих типов (что с ними делать?):
- wmnetload.c:22: warning: ignoring #pragma ident
В частности ему не нравится строчка:
#pragma ident "@(#)wmnetload.c 1.15 03/02/23 meem"
Что-то мне кажется, что эта директива используется лишь под Виндой.
Нет?
- wmnetload.c:887: warning: unused variable `ifcount'
СтОит ли удалять такие переменные, которые не используются или нет?
- wmnetload.c:1056: warning: passing arg 4 of `DAMakePixmapFromData'
from incompatible pointer type
Тут не знаю смогу ли я сам разобраться или лучше не трогать.
- wmnetload.c:884: warning: 'loifrp' might be used uninitialized in
this function
Тут я так понимаю нужно находить где переменная определяется и
инициализировать ее каким-нибудь дефолтным значением?
Буду благодарен за вашу помощь!
--
+ php-coder
+ php-coder[at]altlinux[dot]ru
next reply other threads:[~2005-10-08 6:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-08 6:21 php-coder [this message]
2005-10-10 5:00 ` Alexey I. Froloff
2005-10-10 10:01 ` [devel] " Michael Shigorin
2005-10-10 10:10 ` Alexey I. Froloff
2005-10-10 14:36 ` Andrey Rahmatullin
2005-10-10 20:34 ` Michael Shigorin
2005-10-11 4:36 ` Alexey Voinov
2005-10-11 7:00 ` Mikhail Zabaluev
2005-10-11 16:29 ` Денис Смирнов
2005-10-11 16:31 ` Dmitry V. Levin
2005-10-17 22:05 ` [JT] " Денис Смирнов
2005-10-11 17:02 ` Alexey Voinov
2005-10-11 17:50 ` [devel] standards.freedesktop.org icon paths Igor Vlasenko
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=20051008062133.GA9811@mycomp.mydomain \
--to=php-coder@altlinux.ru \
--cc=devel@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 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