Your message dated Tue, 15 Aug 2006 14:47:12 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#287812: fixed in nqc 2.5.r3-4
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-4

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-4.diff.gz
  to pool/main/n/nqc/nqc_2.5.r3-4.diff.gz
nqc_2.5.r3-4.dsc
  to pool/main/n/nqc/nqc_2.5.r3-4.dsc
nqc_2.5.r3-4_i386.deb
  to pool/main/n/nqc/nqc_2.5.r3-4_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: Tue, 15 Aug 2006 14:42:56 -0700
Source: nqc
Binary: nqc
Architecture: source i386
Version: 2.5.r3-4
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-4) unstable; urgency=low
 .
   * compiler/Error.h: Change Error's fData member from type `int' to
     `intptr_t', to ensure that it has enough room for a pointer.  Closes:
     #287812.
Files: 
 e7f0d484b7891ec98c6d8dd7e79891fa 854 devel extra nqc_2.5.r3-4.dsc
 680a0c11ca53158b18fad2c8f89e076f 12969 devel extra nqc_2.5.r3-4.diff.gz
 2fdcd72c6590ba2ce0a119d37e7f6ca3 148316 devel extra nqc_2.5.r3-4_i386.deb

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

iQEVAwUBROJAdLf2jhx5fmQdAQKLZQf+IcJBh6jqdBkQoNq8S16jWPqC4sPpSdWC
FvrH1QiwszNmUM5g20lU81xK3cbgIeI+83K+TqiAhGoiLS0TP6zzSVgIrTFtbKL7
vcS0v3XchomsdVKf5sfmUONm3Mc5PrStwqMYfV2dji2VQpN8tUdRngqRI5X3sX+O
xLST6D20RnL0KZAHzM7BmmIkYMsxIRUr1aaemMVX058/nkDBEFacfK3DqnZd5XDc
Ssrdq3fUNsH9RTkwxndLx3il2d/XcVQ9nKPS1AN7B+e8+00KX+rBrZ5CyQFUzfWF
QV4+HjTAxChaw0myXogf+w+4DOsKDbNYPyC1K1LPkIV0/MfxinUINA==
=kcFm
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to