Your message dated Wed, 05 Jan 2005 22:47:07 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#287809: fixed in nitpic 0.1-9
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 08:44:01 +0000
>From [EMAIL PROTECTED] Thu Dec 30 00:44:01 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 1Cjvua-0005eZ-00; Thu, 30 Dec 2004 00:44:01 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1Cjvzr-0007wL-3K; Thu, 30 Dec 2004 09:49:27 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: nitpic: FTBFS (amd64/gcc-4.0): default arguments are only permitted 
for function parameters
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 30 Dec 2004 09:49:27 +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: nitpic
Severity: normal
Tags: patch

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

c++ -g -O2 -Wall    -I. -I./lib/Xt  -I/usr/X11R6/include    -Dlinux 
-D__x86_64__ -D_POSIX_C_SOURCE=199309L                              
-D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE 
-D_SVID_SOURCE                                                              
-DFUNCPROTO=15 -DNARROWPROTO     -g -O2 -Wall   -c -o main.o main.cc
picsim.hh:38: error: default arguments are only permitted for function 
parameters
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/nitpic-0.1'
make: *** [build] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/nitpic-0.1/16c84.cc ./16c84.cc
--- ../tmp-orig/nitpic-0.1/16c84.cc     2004-12-30 09:36:03.171497584 +0100
+++ ./16c84.cc  2004-12-30 09:35:57.526355776 +0100
@@ -441,7 +441,7 @@
 
        if (d) {
                if (Pic.reg_file[c][d].hook) {
-                       return Pic.reg_file[c][d].hook( &Pic.reg_file[c][d], 
False );
+                       return Pic.reg_file[c][d].hook( &Pic.reg_file[c][d], 
False, 0 );
                } else {
                        return Pic.reg_file[c][d].value & 0xff;
                }
diff -urN ../tmp-orig/nitpic-0.1/instr.cc ./instr.cc
--- ../tmp-orig/nitpic-0.1/instr.cc     1994-11-12 06:02:40.000000000 +0100
+++ ./instr.cc  2004-12-30 09:35:40.444952544 +0100
@@ -76,7 +76,7 @@
 
        lines = w_height / dv;
 
-       top = Pic.itop + lines * (int)position / w_height;
+       top = Pic.itop + lines * (long)position / w_height;
        if (top < 0)
                top = 0;
        else
diff -urN ../tmp-orig/nitpic-0.1/picsim.hh ./picsim.hh
--- ../tmp-orig/nitpic-0.1/picsim.hh    2004-12-30 09:36:03.172497432 +0100
+++ ./picsim.hh 2004-12-30 09:35:25.617206704 +0100
@@ -35,7 +35,7 @@
        char     redirect_reg;
        char     implemented;
        char     value;
-       char    (*hook)( struct reg *r, Boolean write, char v = 0 );
+       char    (*hook)( struct reg *r, Boolean write, char v );
 } reg;
 
 typedef struct {

---------------------------------------
Received: (at 287809-close) by bugs.debian.org; 6 Jan 2005 03:49:30 +0000
>From [EMAIL PROTECTED] Wed Jan 05 19:49:29 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CmOeO-0001dG-00; Wed, 05 Jan 2005 19:49:28 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1CmOc7-0000X6-00; Wed, 05 Jan 2005 22:47:07 -0500
From: Ernesto Nadir Crespo Avila <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.54 $
Subject: Bug#287809: fixed in nitpic 0.1-9
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 05 Jan 2005 22:47:07 -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: 
X-CrossAssassin-Score: 3

Source: nitpic
Source-Version: 0.1-9

We believe that the bug you reported is fixed in the latest version of
nitpic, which is due to be installed in the Debian FTP archive:

nitpic_0.1-9.diff.gz
  to pool/main/n/nitpic/nitpic_0.1-9.diff.gz
nitpic_0.1-9.dsc
  to pool/main/n/nitpic/nitpic_0.1-9.dsc
nitpic_0.1-9_i386.deb
  to pool/main/n/nitpic/nitpic_0.1-9_i386.deb



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.
Ernesto Nadir Crespo Avila <[EMAIL PROTECTED]> (supplier of updated nitpic 
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: Sun, 02 Jan 2005 23:28:09 -0400
Source: nitpic
Binary: nitpic
Architecture: source i386
Version: 0.1-9
Distribution: unstable
Urgency: low
Maintainer: Ernesto Nadir Crespo Avila <[EMAIL PROTECTED]>
Changed-By: Ernesto Nadir Crespo Avila <[EMAIL PROTECTED]>
Description: 
 nitpic     - Simulator for the Microchip PIC16C84 microcontroller
Closes: 227784 263265 287809
Changes: 
 nitpic (0.1-9) unstable; urgency=low
 .
   * New maintainer (closes: #227784).
   * Fixed "FTBFS with gcc-3.4: default arguments are only permitted for 
function parameters"
     (closes: #287809, #263265). Patch by Andreas Jochens <[EMAIL PROTECTED]>
Files: 
 5d485519225bc689da59af70001e52b4 599 electronics extra nitpic_0.1-9.dsc
 fb85daa0817c923b3641c86e9d44c788 9912 electronics extra nitpic_0.1-9.diff.gz
 307f0f3da50264cfe12f013f0d990926 32946 electronics extra nitpic_0.1-9_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB3LKSNFDtUT/MKpARAnJ2AKDMFLpMM1nv+yX3jTaH1vXjUsS1/gCfTJ2q
JL41UuerVvxvOqz9UDNE3+4=
=IALn
-----END PGP SIGNATURE-----

Reply via email to