Your message dated Fri, 15 Jul 2005 16:38:45 +0300
with message-id <[EMAIL PROTECTED]>
and subject line builds -> 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; 29 Dec 2004 08:44:54 +0000
>From [EMAIL PROTECTED] Wed Dec 29 00:44:54 2004
Return-path: <[EMAIL PROTECTED]>
Received: from d007021.adsl.hansenet.de (localhost.localdomain) [80.171.7.21] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CjZRt-000385-00; Wed, 29 Dec 2004 00:44:54 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1CjZX6-0001Pd-Tr; Wed, 29 Dec 2004 09:50:16 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: manedit: FTBFS (amd64/gcc-4.0): invalid cast from type 'char' to type 
'char'
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 29 Dec 2004 09:50:16 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: manedit
Severity: normal
Tags: patch

When building 'manedit' on amd64 with gcc-4.0,
I get the following error:

c++ -c disk.cpp  -g -O2 -Wall -fno-strict-aliasing -DHAVE_GZIP -DHAVE_BZIP2 
`gtk-config --cflags` -DPREFIX=\"/usr\" -DLOCALBASE=\"/usr\" 
-DX11BASE=\"/usr/X11R6\" -D__cplusplus -Dc_plusplus
disk.cpp: In function 'int ISPATHABSOLUTE(const char*)':
disk.cpp:135: error: invalid cast from type 'char' to type 'char'
disk.cpp:135: error: invalid cast from type 'char' to type 'char'
disk.cpp: In function 'void StripParentPath(char*, const char*)':
disk.cpp:986: warning: operation on 'strptr' may be undefined
make[1]: *** [disk.o] Error 1
make[1]: Leaving directory `/manedit-0.5.12/manedit'
make: *** [build-stamp] Error 2

With the attached patch 'manedit' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/manedit-0.5.12/manedit/disk.cpp ./manedit/disk.cpp
--- ../tmp-orig/manedit-0.5.12/manedit/disk.cpp 2004-11-16 05:09:15.000000000 
+0100
+++ ./manedit/disk.cpp  2004-12-29 09:44:55.633347568 +0100
@@ -130,12 +130,7 @@
        if(path == NULL)
            return(0);
 
-       // Dan S: typecast is due to const.
-#if defined(__cplusplus) || defined(c_plusplus)
-       while(ISBLANK(reinterpret_cast<char>(*path)))
-#else
        while(ISBLANK(*path))
-#endif
            path++;
 
        return(*path == DIR_DELIMINATOR);

---------------------------------------
Received: (at 287633-done) by bugs.debian.org; 15 Jul 2005 13:46:24 +0000
>From [EMAIL PROTECTED] Fri Jul 15 06:46:24 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp-4.hut.fi [130.233.228.94] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1DtQWG-0006rR-00; Fri, 15 Jul 2005 06:46:24 -0700
Received: from localhost (katosiko.hut.fi [130.233.228.115])
        by smtp-4.hut.fi (8.12.10/8.12.10) with ESMTP id j6FDjrQF021689
        for <[EMAIL PROTECTED]>; Fri, 15 Jul 2005 16:45:53 +0300
Received: from smtp-4.hut.fi ([130.233.228.94])
 by localhost (katosiko.hut.fi [130.233.228.115]) (amavisd-new, port 10024)
 with LMTP id 19865-30-4 for <[EMAIL PROTECTED]>;
 Fri, 15 Jul 2005 16:45:52 +0300 (EEST)
Received: from localhost (a130-233-5-21.debconf5.hut.fi [130.233.5.21])
        by smtp-4.hut.fi (8.12.10/8.12.10) with ESMTP id j6FDdU2L021018
        for <[EMAIL PROTECTED]>; Fri, 15 Jul 2005 16:39:30 +0300
Received: by localhost (Postfix, from userid 1000)
        id AF3F815E35; Fri, 15 Jul 2005 16:38:45 +0300 (EEST)
Date: Fri, 15 Jul 2005 16:38:45 +0300
From: Rene Engelhard <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: builds -> closing
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
X-PGP-Key: 248AEB73
X-PGP-Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73
Organization: The Debian Project
User-Agent: Mutt/1.5.9i
X-TKK-Virus-Scanned: by amavisd-new-2.1.2-hutcc at katosiko.hut.fi
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by smtp-4.hut.fi id 
j6FDjrQF021689
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

Hi,

The current sareg/sid package (0.6.1-1) builds fine herw with gcc 4.0.1.
Closing this bug...

Gr=FC=DFe/Regards,

Rene
--=20
 .''`.  Rene Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  [EMAIL PROTECTED] | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to