From: Sergey Afonin <asy@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] slang2 (Re: rpm-build и не самый последний gcc) Date: Tue, 26 Mar 2019 14:52:45 +0400 Message-ID: <201903261452.45759.asy@altlinux.org> (raw) In-Reply-To: <616be06e-da01-dcfb-b6c3-0e5d7029700d@altlinux.org> On Tuesday 26 March 2019, Aleksei Nikiforov wrote: > Какие-нибудь предупреждения при сборке этих непроходящих тестов есть? У тестов нет. А вот у slang есть два: src/slang.c:5743:9: warning: 'test' may be used uninitialized in this function [-Wmaybe-uninitialized] src/slarrfun.c:966:7: warning: 'w[<unknown>]' may be used uninitialized in this function [-Wmaybe-uninitialized] Тесты падающие такие: 2 tests failed: array.sl array.slc И оба в одном месте: Testing array functions ...Unable to create a multi-dimensional array of the desired size ./array.sl:166:<top-level>:Invalid Parameter Вообще, какая-то корреляция между название slarrfun и названиями тестов есть. Строка там "wk = w[k];", на первый взгляд мне не очень понятно, чем там k не нравится. Вроде нулём инициализируется, потом есть присвоение if (use_this_dim != NULL) { k = *use_this_dim; use_all_dims = 0; } Но я не программист, если что-то есть неочевидное, сходу могу и не увидеть. > А если выкрутить предупреждения на максимум? Пока не пробовал. -- С уважением, Сергей Афонин.
next prev parent reply other threads:[~2019-03-26 10:52 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-03-24 7:13 [devel] rpm-build и не самый последний gcc Sergey Y. Afonin 2019-03-24 10:15 ` Dmitry V. Levin 2019-03-24 13:39 ` Sergey Y. Afonin 2019-03-24 13:56 ` Dmitry V. Levin 2019-03-24 14:31 ` Sergey Y. Afonin 2019-03-24 15:30 ` Dmitry V. Levin 2019-03-24 17:20 ` Sergey Y. Afonin 2019-03-24 18:14 ` Dmitry V. Levin 2019-03-25 6:04 ` [devel] slang2 (Re: rpm-build и не самый последний gcc) Sergey Afonin 2019-03-25 18:55 ` Dmitry V. Levin 2019-03-26 9:51 ` Sergey Afonin 2019-03-26 9:57 ` Aleksei Nikiforov 2019-03-26 10:52 ` Sergey Afonin [this message] 2019-03-26 12:04 ` Aleksei Nikiforov 2019-03-26 10:03 ` Michael Shigorin 2019-03-26 10:14 ` Sergey Afonin 2019-03-26 12:42 ` Sergey Afonin
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=201903261452.45759.asy@altlinux.org \ --to=asy@altlinux.org \ --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