Your message dated Tue, 20 Sep 2005 11:18:48 +0200
with message-id <[EMAIL PROTECTED]>
and subject line #287882: orange: FTBFS (amd64/gcc-4.0): pointer targets in 
passing argument 1 of 'orange_strndup' differ in signedness
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; 30 Dec 2004 19:06:14 +0000
>From [EMAIL PROTECTED] Thu Dec 30 11:06:14 2004
Return-path: <[EMAIL PROTECTED]>
Received: from d020125.adsl.hansenet.de (localhost.localdomain) [80.171.20.125] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Ck5ck-0000I0-00; Thu, 30 Dec 2004 11:06:14 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1Ck5hw-0003gX-Eq; Thu, 30 Dec 2004 20:11:40 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: orange: FTBFS (amd64/gcc-4.0): pointer targets in passing argument 1 
of 'orange_strndup' differ in signedness
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 30 Dec 2004 20:11:40 +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: orange
Severity: normal
Tags: patch

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

x86_64-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -ansi -Wall -Wno-long-long 
-Werror -Wall -g -O2 -I.. -Wall -g -O2 -c suf.c -MT suf.lo -MD -MP -MF 
.deps/suf.TPlo  -fPIC -DPIC -o .libs/suf.lo
cc1: warnings being treated as errors
suf.c: In function 'orange_read_string1':
suf.c:211: warning: pointer targets in passing argument 1 of 'orange_strndup' 
differ in signedness
suf.c: In function 'orange_read_string2':
suf.c:220: warning: pointer targets in passing argument 1 of 'orange_strndup' 
differ in signedness
make[3]: *** [suf.lo] Error 1
make[3]: Leaving directory `/orange-0.2/lib'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/orange-0.2/lib/suf.c ./lib/suf.c
--- ../tmp-orig/orange-0.2/lib/suf.c    2003-09-08 19:22:40.000000000 +0200
+++ ./lib/suf.c 2004-12-30 19:59:38.332528536 +0100
@@ -208,7 +208,7 @@
   char* result;
   size_t length = **p;
   (*p)++;
-  result = orange_strndup(*p, length);
+  result = orange_strndup((char*)*p, length);
   *p += length;
   return result;
 }/*}}}*/
@@ -217,7 +217,7 @@
 {
   char* result;
   size_t length = orange_read_uint16(p);
-  result = orange_strndup(*p, length);
+  result = orange_strndup((char*)*p, length);
   *p += length;
   return result;
 }/*}}}*/
diff -urN ../tmp-orig/orange-0.2/lib/tomtom.c ./lib/tomtom.c
--- ../tmp-orig/orange-0.2/lib/tomtom.c 2004-12-30 20:00:12.186381968 +0100
+++ ./lib/tomtom.c      2004-12-30 20:00:05.868342456 +0100
@@ -282,7 +282,7 @@
     }
 
     synce_trace("Writing '%s'", entries[i].filename);
-    orange_write(buffer, entries[i].size, output_directory, 
entries[i].filename);
+    orange_write((unsigned char*)buffer, entries[i].size, output_directory, 
entries[i].filename);
   }
 
   success = true;

---------------------------------------
Received: (at 287882-done) by bugs.debian.org; 20 Sep 2005 09:18:51 +0000
>From [EMAIL PROTECTED] Tue Sep 20 02:18:50 2005
Return-path: <[EMAIL PROTECTED]>
Received: from lehre.fh-hagenberg.at (postfix.fhs-hagenberg.ac.at) 
[193.170.124.119] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EHeH4-0006WT-00; Tue, 20 Sep 2005 02:18:50 -0700
Received: from [10.26.99.3] ([10.26.99.3]) by postfix.fhs-hagenberg.ac.at with 
Microsoft SMTPSVC(6.0.3790.211);
         Tue, 20 Sep 2005 11:18:47 +0200
From: Volker Christian <[EMAIL PROTECTED]>
Organization: FHS-Hagenberg
To: [EMAIL PROTECTED]
Subject: #287882: orange: FTBFS (amd64/gcc-4.0): pointer targets in passing 
argument 1 of 'orange_strndup' differ in signedness
Date: Tue, 20 Sep 2005 11:18:48 +0200
User-Agent: KMail/1.8.2
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <[EMAIL PROTECTED]>
X-OriginalArrivalTime: 20 Sep 2005 09:18:47.0170 (UTC) 
FILETIME=[4E1D2620:01C5BDC4]
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=-1.5 required=4.0 tests=BAYES_10 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

Done


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

Reply via email to