* [devel] libfltk Re: [cyber] I: Sisyphus-20070628 REBUILD x86-64 status @ 2007-06-28 17:19 ` Michael Shigorin 2007-06-28 18:23 ` Sergey Vlasov 0 siblings, 1 reply; 2+ messages in thread From: Michael Shigorin @ 2007-06-28 17:19 UTC (permalink / raw) To: devel On Thu, Jun 28, 2007 at 08:38:30PM +0400, QA Team Robot wrote: > package libfltk-1.1.7-alt2 was orphaned [18] (Alexey Tourbin). Compiling cursor.cxx... ../FL/Fl_Image.H: In constructor 'Fl_RGB_Image::Fl_RGB_Image(const uchar*, int, int, int, int)': ../FL/Fl_Image.H:95: warning: dereferencing type-punned pointer will break strict-aliasing rules cursor.cxx: In function 'void choice_cb(Fl_Widget*, void*)': cursor.cxx:42: error: cast from 'void*' to 'int' loses precision make[1]: *** [cursor.o] Error 1 Патчи из Gentoo и Debian этого не касаются, других тоже как-то не наблюдаю, а сам на подобное натыкался, но фиксить не умею. Кто умеет -- если есть типовой рецепт, киньте на http://wiki.sisyphus.ru/devel/gcc4 pls -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [devel] libfltk Re: [cyber] I: Sisyphus-20070628 REBUILD x86-64 status 2007-06-28 17:19 ` [devel] libfltk Re: [cyber] I: Sisyphus-20070628 REBUILD x86-64 status Michael Shigorin @ 2007-06-28 18:23 ` Sergey Vlasov 0 siblings, 0 replies; 2+ messages in thread From: Sergey Vlasov @ 2007-06-28 18:23 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 948 bytes --] On Thu, Jun 28, 2007 at 08:19:12PM +0300, Michael Shigorin wrote: > On Thu, Jun 28, 2007 at 08:38:30PM +0400, QA Team Robot wrote: > > package libfltk-1.1.7-alt2 was orphaned [18] (Alexey Tourbin). > > Compiling cursor.cxx... > ../FL/Fl_Image.H: In constructor 'Fl_RGB_Image::Fl_RGB_Image(const uchar*, int, int, int, int)': > ../FL/Fl_Image.H:95: warning: dereferencing type-punned pointer will break strict-aliasing rules > cursor.cxx: In function 'void choice_cb(Fl_Widget*, void*)': > cursor.cxx:42: error: cast from 'void*' to 'int' loses precision > make[1]: *** [cursor.o] Error 1 void choice_cb(Fl_Widget *, void *v) { cursor = (Fl_Cursor)(int)v; ... {"FL_CURSOR_DEFAULT",0,choice_cb,(void*)FL_CURSOR_DEFAULT}, {"FL_CURSOR_ARROW",0,choice_cb,(void*)FL_CURSOR_ARROW}, ... В указателе на самом деле лежит число; в этом случае достаточно заменить int на long - такое преобразование указателя пройдёт нормально. [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-28 18:23 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-06-28 17:19 ` [devel] libfltk Re: [cyber] I: Sisyphus-20070628 REBUILD x86-64 status Michael Shigorin 2007-06-28 18:23 ` Sergey Vlasov
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