From: Slava Semushin <php-coder@ngs.ru> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: [devel] warn_unused_result портят жизнь мэйнтейнеру Date: Tue, 24 Oct 2006 06:07:52 +0700 Message-ID: <20061023230752.GA5102@rock.home> (raw) In-Reply-To: <20061023221715.GC7847@localhost.localdomain> --- Alexey Tourbin 2006-10-24 02:17:15 +0400 +++ Slava Semushin 2006-10-24 05:59:52 +0700 AT> Вообще сейчас warn_unused_result Ох, задели больную тему... У меня три пакета (libtap, wmdiskmon и wmbday) с -Wall -Werror не пересобираются из-за этих проблем c неиспользуемым результатом. В частности из-за fgets()/vasprintf()/asprintf(). Также я не обновляю clines потому что там вылезли варнинги с write(). Чесгря только час назад об этом всём думал. Я начал их фиксить. Но не уверен, что правильно. Поэтому я думаю, как-то отключить эти предупреждения. Или вовсе тогда -Werror уберу. Пожалуйста, объясните, зачем были введены эти предупреждения? И почему аж в -Wall ? Почему бы не включать их по -W? Неужто всё так серьёзно? Также интересно возможно ли как-то заткнуть эти предупреждения? -Wno-что? Приведение к void не помогло. В случае с libtap, значение [v]asprintf() проверяется, только чуть иначе -- по первому аргументу. -- + Semushin Slava | php-coder @ ngs.ru + ALT Linux Team | php-coder @ altlinux.ru
next prev parent reply other threads:[~2006-10-23 23:07 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-10-13 15:07 ` [devel] glibc 6:2.5-alt2 to git-push Alexey Tourbin 2006-10-13 17:19 ` Alexey Tourbin 2006-10-13 20:32 ` Dmitry V. Levin 2006-10-15 6:35 ` Alexey Tourbin 2006-10-15 10:42 ` Dmitry V. Levin 2006-10-15 10:58 ` Alexey Tourbin 2006-10-15 11:21 ` Dmitry V. Levin 2006-10-15 13:02 ` [devel] [JT] " Michael Shigorin 2006-10-15 14:39 ` Dmitry V. Levin 2006-10-15 18:35 ` Michael Shigorin 2006-10-15 19:40 ` Dmitry V. Levin 2006-10-15 19:59 ` Michael Shigorin 2006-10-15 20:31 ` Dmitry V. Levin 2006-10-23 22:17 ` [devel] " Alexey Tourbin 2006-10-23 22:25 ` Dmitry V. Levin 2006-10-23 22:32 ` Alexey Tourbin 2006-10-23 23:07 ` Slava Semushin [this message] 2006-10-24 3:43 ` [devel] warn_unused_result портят жизнь мэйнтейнеру Alexey Tourbin 2006-10-24 3:57 ` Andrey Rahmatullin 2006-10-24 4:16 ` Alexey Tourbin 2006-10-24 4:26 ` Andrey Rahmatullin 2006-10-24 5:15 ` [devel] [JT] " Pavlov Konstantin 2006-10-24 5:45 ` Alexey Tourbin 2006-10-24 6:01 ` Pavlov Konstantin 2006-10-24 12:24 ` Michael Shigorin 2006-10-26 15:38 ` Alexey Tourbin
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=20061023230752.GA5102@rock.home \ --to=php-coder@ngs.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