Your message dated Fri, 01 Apr 2005 02:17:15 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#302387: fixed in simulavr 0.1.2.2-1
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; 31 Mar 2005 15:36:33 +0000
>From [EMAIL PROTECTED] Thu Mar 31 07:36:33 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c129061.adsl.hansenet.de (localhost.localdomain) [213.39.129.61]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DH1ij-0007Ov-00; Thu, 31 Mar 2005 07:36:33 -0800
Received: from aj by localhost.localdomain with local (Exim 4.50)
id 1DH1ik-0006ya-Pm; Thu, 31 Mar 2005 17:36:34 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: simulavr: FTBFS (amd64/gcc-4.0): pointer targets in passing argument 1
of 'snprintf' differ in signedness
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 31 Mar 2005 17:36:34 +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-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: simulavr
Version: 0.1.2.1-3
Severity: normal
Tags: patch
When building 'simulavr' on amd64/unstable with gcc-4.0,
I get the following error:
cc1: warnings being treated as errors
gdbserver.c: In function 'gdb_read_memory':
gdbserver.c:613: warning: pointer targets in passing argument 1 of 'snprintf'
differ in signedness
gdbserver.c:681: warning: pointer targets in passing argument 1 of 'snprintf'
differ in signedness
gdbserver.c:684: warning: pointer targets in passing argument 2 of
'gdb_send_reply' differ in signedness
make[4]: *** [gdbserver.o] Error 1
make[4]: Leaving directory `/simulavr-0.1.2.1/src'
With the attached patch 'simulavr' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/simulavr-0.1.2.1/src/gdbserver.c ./src/gdbserver.c
--- ../tmp-orig/simulavr-0.1.2.1/src/gdbserver.c 2003-12-02
04:56:45.000000000 +0100
+++ ./src/gdbserver.c 2005-03-31 17:33:45.962585290 +0200
@@ -610,7 +610,7 @@
/* if ( (addr >= 0) && (addr < 32) ) */
if (0)
{
- snprintf (buf, len * 2, "E%02x", EIO);
+ snprintf ((char*)buf, len * 2, "E%02x", EIO);
}
else
{
@@ -678,10 +678,10 @@
{
/* gdb asked for memory space which doesn't exist */
avr_warning ("Invalid memory address: 0x%x.\n", addr);
- snprintf (buf, len * 2, "E%02x", EIO);
+ snprintf ((char*)buf, len * 2, "E%02x", EIO);
}
- gdb_send_reply (fd, buf);
+ gdb_send_reply (fd, (char*)buf);
avr_free (buf);
}
---------------------------------------
Received: (at 302387-close) by bugs.debian.org; 1 Apr 2005 07:24:32 +0000
>From [EMAIL PROTECTED] Thu Mar 31 23:24:32 2005
Return-path: <[EMAIL PROTECTED]>
Received: from gluck.debian.org [192.25.206.10]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DHGW8-0003IK-00; Thu, 31 Mar 2005 23:24:32 -0800
Received: from newraff.debian.org [208.185.25.31] (mail)
by gluck.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DHGW7-0005tm-00; Fri, 01 Apr 2005 00:24:31 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DHGP5-00075d-00; Fri, 01 Apr 2005 02:17:15 -0500
From: Shaun Jackman <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#302387: fixed in simulavr 0.1.2.2-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 01 Apr 2005 02:17:15 -0500
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-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Source: simulavr
Source-Version: 0.1.2.2-1
We believe that the bug you reported is fixed in the latest version of
simulavr, which is due to be installed in the Debian FTP archive:
simulavr_0.1.2.2-1.diff.gz
to pool/main/s/simulavr/simulavr_0.1.2.2-1.diff.gz
simulavr_0.1.2.2-1.dsc
to pool/main/s/simulavr/simulavr_0.1.2.2-1.dsc
simulavr_0.1.2.2-1_i386.deb
to pool/main/s/simulavr/simulavr_0.1.2.2-1_i386.deb
simulavr_0.1.2.2.orig.tar.gz
to pool/main/s/simulavr/simulavr_0.1.2.2.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Shaun Jackman <[EMAIL PROTECTED]> (supplier of updated simulavr package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 31 Mar 2005 22:49:37 -0800
Source: simulavr
Binary: simulavr
Architecture: source i386
Version: 0.1.2.2-1
Distribution: unstable
Urgency: low
Maintainer: Shaun Jackman <[EMAIL PROTECTED]>
Changed-By: Shaun Jackman <[EMAIL PROTECTED]>
Description:
simulavr - Atmel AVR simulator
Closes: 302387
Changes:
simulavr (0.1.2.2-1) unstable; urgency=low
.
* New upstream release.
* Cast unsigned char* to char* for gcc-4.0 (closes: #302387).
Files:
84f47ef5fc523b865138ab7d06d74b7c 667 electronics optional
simulavr_0.1.2.2-1.dsc
7fa27cddaa3397046538bf5b916fdc11 457130 electronics optional
simulavr_0.1.2.2.orig.tar.gz
3598d672f7bfdae29ed2769c5c2961eb 8521 electronics optional
simulavr_0.1.2.2-1.diff.gz
59bc1f189b3d8a1c99abc24bd1806134 83672 electronics optional
simulavr_0.1.2.2-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCTPE+vFdYF1IwUUoRApQBAJsF22jegtfPDiythqBjk4TTC5AutwCgjN/v
eJisuwQRgQl6dzHL/p2nJw8=
=C3br
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]