From: Motsyo Gennadi aka Drool <motsyo@gmail.com> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] [Fwd: E: incoming x86_64 reject: qcat-0.5-alt1] Date: Fri, 23 Nov 2007 12:42:38 +0200 Message-ID: <4746AE9E.80603@gmail.com> (raw) In-Reply-To: <20071123101755.GA7489@mail.gu.net> [-- Attachment #1: Type: text/plain, Size: 1116 bytes --] Victor Forsyuk пишет: > On Fri, Nov 23, 2007 at 11:01:48AM +0200, Motsyo Gennadi aka Drool <motsyo@gmail.com> wrote: >> Motsyo Gennadi aka Drool пишет: >> >> Кто может немного разъяснить какие изменения произошли в сборочной >> среде сизифа? Теперь даже имеющаяся там сборка qcat-0.5-alt0 на 64 бита >> не собирается с этим симптомом: > > Почему Вы думаете, что изменилось? Разве Вам приходило сообщение об успешной > сборке qcat-0.5-alt0 на x86_64? На самом деле он и не собирался. Мда... Результат двух работ и хронического недосыпания. Но честно - не помню reject-а :-( >>> catalogtable.cpp: In member function 'void CatalogTable::startDrag()': >>> catalogtable.cpp:344: error: cast from 'QList<QTreeWidgetItem*>*' to 'int' loses precision >>> make[1]: Leaving directory `/usr/src/RPM/BUILD/qcat-dist-0.5/src' >>> make[1]: *** [../build/catalogtable.o] Error 1 > > Так нарисуйте патчик. Он несложный. Вместо 'int' должно быть 'long'. Патчик в аттаче. Я Вас правильно понял? И этот патч нужен только для x86_64, или и на 32 бита он не помешает? Делать ли в спеке выборочный патчинг только для 64 бит? [-- Attachment #2: qcat-0.5-x86_64.diff --] [-- Type: text/x-patch, Size: 444 bytes --] --- qcat-dist-0.5/src/catalogtable.cpp.orig 2007-07-18 21:08:21 +0400 +++ qcat-dist-0.5/src/catalogtable.cpp 2007-11-23 13:25:34 +0300 @@ -341,7 +341,7 @@ void CatalogTable::startDrag() selItems +=":"; } char ptrCh[5]; - int listAddr = reinterpret_cast <int> (&selectedItemsList); + int listAddr = reinterpret_cast <long> (&selectedItemsList); memcpy(&ptrCh, &listAddr, 4); ptrCh[4] = 0x0; QByteArray ptr(ptrCh);
next prev parent reply other threads:[~2007-11-23 10:42 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-11-22 12:46 Motsyo Gennadi aka Drool 2007-11-22 14:09 ` Michael Shigorin 2007-11-22 14:58 ` Motsyo Gennadi aka Drool 2007-11-23 9:01 ` Motsyo Gennadi aka Drool 2007-11-23 10:17 ` Victor Forsyuk 2007-11-23 10:42 ` Motsyo Gennadi aka Drool [this message] 2007-11-23 14:15 ` Victor Forsyuk 2007-11-23 14:37 ` Motsyo Gennadi aka Drool 2007-11-23 14:58 ` Victor Forsyuk 2007-11-23 16:49 ` led
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=4746AE9E.80603@gmail.com \ --to=motsyo@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