Your message dated Sat, 1 Oct 2005 12:39:44 +0300 with message-id <[EMAIL PROTECTED]> and subject line closing has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 3 Sep 2005 11:42:01 +0000 >From [EMAIL PROTECTED] Sat Sep 03 04:42:01 2005 Return-path: <[EMAIL PROTECTED]> Received: from c173118.adsl.hansenet.de (localhost.localdomain) [213.39.173.118] by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1EBWPI-0002L8-00; Sat, 03 Sep 2005 04:42:00 -0700 Received: from aj by localhost.localdomain with local (Exim 4.52) id 1EBWPH-0004ew-JS; Sat, 03 Sep 2005 13:41:59 +0200 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: imview: FTBFS (amd64): cast from 'void*' to 'unsigned int' loses precision Message-Id: <[EMAIL PROTECTED]> Date: Sat, 03 Sep 2005 13:41:59 +0200 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 Package: imview Version: 1.1.8-1 Severity: serious Tags: patch When building 'imview' on amd64/unstable, I get the following error: x86_64-linux-gnu-g++ -D_REENTRANT -DLinux -I. -I/usr/include/freetype2 -I/usr/include -Wno-deprecated -I/usr/include -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -I. -I. -I../include -c imview.cxx server/asyncore.hxx:125: warning: 'class dispatcher' has virtual functions but non-virtual destructor x86_64-linux-gnu-g++ -D_REENTRANT -DLinux -I. -I/usr/include/freetype2 -I/usr/include -Wno-deprecated -I/usr/include -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -I. -I. -I../include -c imviewWindow.cxx x86_64-linux-gnu-g++ -D_REENTRANT -DLinux -I. -I/usr/include/freetype2 -I/usr/include -Wno-deprecated -I/usr/include -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -I. -I. -I../include -c menubar.cxx menubar.cxx: In member function 'int imViewMenuBar::addToItemList(const char*, int)': menubar.cxx:346: error: cast from 'void*' to 'unsigned int' loses precision menubar.cxx: In member function 'void imViewMenuBar::removeFromItemList(const char*, int)': menubar.cxx:371: error: cast from 'void*' to 'unsigned int' loses precision menubar.cxx: In member function 'int imViewMenuBar::isAlreadyInItemList(const char*, int)': menubar.cxx:450: error: cast from 'void*' to 'unsigned int' loses precision menubar.cxx: In member function 'void* imViewMenuBar::getItemByLabel(const char*, int)': menubar.cxx:479: error: cast from 'void*' to 'unsigned int' loses precision menubar.cxx: In member function 'char* imViewMenuBar::getItemListContent(int, int&)': menubar.cxx:508: error: cast from 'void*' to 'unsigned int' loses precision menubar.cxx:514: error: cast from 'void*' to 'unsigned int' loses precision make[2]: *** [menubar.o] Error 1 make[2]: Leaving directory `/imview-1.1.8' Additionally, the -Wno-deprecated flag has to be removed because otherwise many configure checks fail. With the attached patch 'imview' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/imview-1.1.8/configure.in ./configure.in --- ../tmp-orig/imview-1.1.8/configure.in 2005-09-03 05:51:44.000000000 +0000 +++ ./configure.in 2005-09-03 05:49:01.000000000 +0000 @@ -436,7 +436,6 @@ dnl# do this last so messing with switches does not break tests if test -n "$GXX"; then GCC_ACCEPTS_INCLUDE_DIR # this will add -I$INCLUDE_DIR if the compiler does not complain about it. - GCC_ACCEPTS_DEPRECATED_HEADERS # this will test if -Wno-deprecated is necessary CFLAGS="-Wall $CFLAGS" # GNU C++ is sometimes missing bits of the STL diff -urN ../tmp-orig/imview-1.1.8/menubar.cxx ./menubar.cxx --- ../tmp-orig/imview-1.1.8/menubar.cxx 2003-09-14 14:55:30.000000000 +0000 +++ ./menubar.cxx 2005-09-03 05:44:50.000000000 +0000 @@ -343,7 +343,7 @@ if ((dynamicMenu[i].label() != 0) && (dynamicMenu[i].callback() == (Fl_Callback *)listCallback[listID])) { dynamicMenu[i].flags &= ~FL_PUP_CHECK; - if (((unsigned int)dynamicMenu[i].user_data() > LAST_INT_ARG) + if (((unsigned long)dynamicMenu[i].user_data() > LAST_INT_ARG) && (strcmp((char*)((IMAGEPARM *)dynamicMenu[i].user_data())->itempath, newImagePath) == 0)) dynamicMenu[i].flags |= FL_PUP_CHECK; } @@ -368,7 +368,7 @@ dbgprintf("Menu will have %d items\n", newSize); dynamicMenu = new Fl_Menu_Item[newSize]; for (i = 0, j = 0 ; i <= newSize ; i++, j++) { - if (((unsigned int)oldMenu[i].user_data() > LAST_INT_ARG) + if (((unsigned long)oldMenu[i].user_data() > LAST_INT_ARG) && (strcmp(((IMAGEPARM *)oldMenu[i].user_data())->itempath, oldImagePath) == 0)) { // now selects the closest image in the image list if (oldMenu[i+1].label() != 0) { @@ -447,7 +447,7 @@ } if (i != size()) { - for ( ; (unsigned int)dynamicMenu[i].user_data() > LAST_INT_ARG ; i++) { + for ( ; (unsigned long)dynamicMenu[i].user_data() > LAST_INT_ARG ; i++) { if (strcmp(((IMAGEPARM *)dynamicMenu[i].user_data())->itempath, newImagePath) == 0) { dbgprintf("Name %s is already in list at position %d\n", newImagePath, i); @@ -476,7 +476,7 @@ } if (i != size()) { - for ( ; (unsigned int)dynamicMenu[i].user_data() > LAST_INT_ARG ; i++) { + for ( ; (unsigned long)dynamicMenu[i].user_data() > LAST_INT_ARG ; i++) { if (strcmp(dynamicMenu[i].label(), givenLbl) == 0) { dbgprintf("Found %s in list at position %d\n", givenLbl, i); @@ -505,13 +505,13 @@ } if (i != size()) { - for (j = i, outlength = 0 ; (unsigned int)dynamicMenu[j].user_data() > LAST_INT_ARG ; j++) + for (j = i, outlength = 0 ; (unsigned long)dynamicMenu[j].user_data() > LAST_INT_ARG ; j++) outlength += strlen(((IMAGEPARM *)dynamicMenu[j].user_data())->itempath); if (outlength > 0) { res = new char[outlength+j+1]; res[0] = '\0'; - for (j = i ; (unsigned int)dynamicMenu[j].user_data() > LAST_INT_ARG ; j++) { + for (j = i ; (unsigned long)dynamicMenu[j].user_data() > LAST_INT_ARG ; j++) { strcat(res, ((IMAGEPARM *)dynamicMenu[j].user_data())->itempath); strcat(res, "\n"); nbitems++; --------------------------------------- Received: (at 326450-done) by bugs.debian.org; 1 Oct 2005 09:40:16 +0000 >From [EMAIL PROTECTED] Sat Oct 01 02:40:16 2005 Return-path: <[EMAIL PROTECTED]> Received: from nproxy.gmail.com [64.233.182.203] by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1ELdqp-0003AS-00; Sat, 01 Oct 2005 02:40:16 -0700 Received: by nproxy.gmail.com with SMTP id n15so16534nfc for <[EMAIL PROTECTED]>; Sat, 01 Oct 2005 02:39:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=F9TYSXiSrcbs783OsRQC9MR9333LxYXb1QdBfO/n9SuOPtBuoX4b60L0Imces9vEvOJPbYZQqjy3FkdDkMf3rS2JNh4yZDjOSq6yyIWeaz2YJXpkQkXyqivugZpBTNpkxQSdZnmt0ulWivd6VHW+4jotaae4pW6T7psVQ5m4ipU= Received: by 10.48.226.11 with SMTP id y11mr139900nfg; Sat, 01 Oct 2005 02:39:44 -0700 (PDT) Received: by 10.48.1.2 with HTTP; Sat, 1 Oct 2005 02:39:44 -0700 (PDT) Message-ID: <[EMAIL PROTECTED]> Date: Sat, 1 Oct 2005 12:39:44 +0300 From: Teemu Ikonen <[EMAIL PROTECTED]> Reply-To: Teemu Ikonen <[EMAIL PROTECTED]> Sender: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: closing MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no version=2.60-bugs.debian.org_2005_01_02 This bug was fixed in an upload of version 1.1.8-2 of Imview: imview (1.1.8-2) unstable; urgency=3Dlow * Add AMD64 patch from Andreas Jochens (closes #326450) * Fix null pointer reference in imageViewer when no image is loaded (closes #326447) * Clean up debian/rules -- tpikonen <[EMAIL PROTECTED]> Mon, 5 Sep 2005 13:13:20 +0300 Teemu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]