Your message dated Fri, 18 Aug 2006 10:47:32 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#287812: fixed in nqc 2.5.r3-5
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)

--- Begin Message ---
Package: nqc
Severity: normal
Tags: patch

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

g++ -c -pipe -Iplatform -Ircxlib -Inqc -Icompiler -Wall -Wstrict-prototypes 
-Wmissing-prototypes -I/usr/local/include/LegoUSB -Wno-deprecated 
-DDEFAULT_SERIAL_NAME='"/dev/rcx"' nqc/nqc.cpp -o nqc/nqc.o 
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for 
Ada/C/ObjC but not for C++
compiler/Error.h: In constructor 'Error::Error(ErrorCode, const char*)':
compiler/Error.h:95: error: cast from 'const char*' to 'int' loses precision
nqc/nqc.cpp: At global scope:
nqc/nqc.cpp:1223: warning: 'void PrintToken(int, TokenVal)' defined but not used
make[1]: *** [nqc/nqc.o] Error 1
make[1]: Leaving directory `/nqc-2.5.r3'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/nqc-2.5.r3/compiler/Error.h ./compiler/Error.h
--- ../tmp-orig/nqc-2.5.r3/compiler/Error.h     2003-11-09 05:14:21.000000000 
+0100
+++ ./compiler/Error.h  2004-12-30 09:50:08.151041168 +0100
@@ -92,7 +92,7 @@
        };
        
                        Error(ErrorCode code, int data=0) : fCode(code), 
fData(data) {}
-                       Error(ErrorCode code, const char *s) : fCode(code), 
fData((int)s) {}
+                       Error(ErrorCode code, const char *s) : fCode(code), 
fData((long)s) {}
 
        // raising errors
        void    Raise(const LexLocation *loc) const;    // raise error at 
specified location


--- End Message ---
--- Begin Message ---
Source: nqc
Source-Version: 2.5.r3-5

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

nqc_2.5.r3-5.diff.gz
  to pool/main/n/nqc/nqc_2.5.r3-5.diff.gz
nqc_2.5.r3-5.dsc
  to pool/main/n/nqc/nqc_2.5.r3-5.dsc
nqc_2.5.r3-5_i386.deb
  to pool/main/n/nqc/nqc_2.5.r3-5_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.
Ben Pfaff <[EMAIL PROTECTED]> (supplier of updated nqc 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: Fri, 18 Aug 2006 10:27:59 -0700
Source: nqc
Binary: nqc
Architecture: source i386
Version: 2.5.r3-5
Distribution: unstable
Urgency: low
Maintainer: Ben Pfaff <[EMAIL PROTECTED]>
Changed-By: Ben Pfaff <[EMAIL PROTECTED]>
Description: 
 nqc        - Not Quite C compiler for LEGO Mindstorms RCX
Closes: 287812
Changes: 
 nqc (2.5.r3-5) unstable; urgency=low
 .
   * compiler/Error.h, compiler/Error.c: Do a more thorough job of tracking
     down the real problem with the fData member.  I think this will really
     fix the FTBFS.  Closes: #287812.
Files: 
 54798a011b6673222cb98459839f5a2f 854 devel extra nqc_2.5.r3-5.dsc
 dd48a9e0222319f8d4b1e49157b05192 13560 devel extra nqc_2.5.r3-5.diff.gz
 945f9e3f29ba292e7a1cbe08c638bd00 148398 devel extra nqc_2.5.r3-5_i386.deb

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

iQEVAwUBROX53bf2jhx5fmQdAQLKfggArdtzFiyh7jR22Fjpt9w8NYwqxv3iEgTP
5lhQXLhTfGqS7anNyvFc0EGHlEGAn+9MZ/Mw+RWIWXDYQeQzxzF2wDLevK6Ie637
+BCf1egIUrR7X7bJFeCs/0RACGvt+qhAzasQG2367RoycT8Mmq2fuFuAjnr79Vch
lrKFPyTYamLFd7QRhaFS8cxhI9BIlI2x7SKZWkP/Dd3ZLvR8RztUi1HCkszc8jEm
Xxx0h0IxRQcoB9Y3ZuEnUXelD07ARzCSry0V0qAmYEmZaj3D/TiqumXJUa1kmvQ7
Jn+gLZOhL7FJF65inrDghRwKy9z2M4ifw2Vg4NdH8ZcruluXkJTBBQ==
=6IwP
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to