Your message dated Thu, 10 Nov 2005 02:32:10 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#303863: fixed in qucs 0.0.7-2
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; 9 Apr 2005 08:30:36 +0000
>From [EMAIL PROTECTED] Sat Apr 09 01:30:36 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d007094.adsl.hansenet.de (localhost.localdomain) [80.171.7.94] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DKBMR-0004km-00; Sat, 09 Apr 2005 01:30:35 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
        id 1DKBMQ-00015p-41; Sat, 09 Apr 2005 10:30:34 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: qucs: FTBFS (amd64/gcc-4.0): cast from 'Node*' to 'int' loses precision
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 09 Apr 2005 10:30: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: qucs
Version: 0.0.5-1
Severity: normal
Tags: patch

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

qucsview.cpp:402: error: cast from 'Node*' to 'int' loses precision
qucsview.cpp:404: error: cast from 'Node*' to 'int' loses precision
qucsview.cpp:405: error: cast from 'Node*' to 'int' loses precision
qucsview.cpp:406: error: cast from 'Node*' to 'int' loses precision
qucsview.cpp: In member function 'void QucsView::MMoveMoving(QMouseEvent*)':
qucsview.cpp:611: error: cast from 'Node*' to 'int' loses precision
qucsview.cpp:612: error: cast from 'Node*' to 'int' loses precision
qucsview.cpp:613: error: cast from 'Node*' to 'int' loses precision
qucsview.cpp:615: error: cast from 'Node*' to 'int' loses precision
qucsview.cpp:616: error: cast from 'Node*' to 'int' loses precision
qucsview.cpp:617: error: cast from 'Node*' to 'int' loses precision
make[4]: *** [qucsview.o] Error 1
make[4]: Leaving directory `/qucs-0.0.5/qucs'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/qucs-0.0.5/qucs/qucsview.cpp ./qucs/qucsview.cpp
--- ../tmp-orig/qucs-0.0.5/qucs/qucsview.cpp    2005-02-28 19:22:31.000000000 
+0100
+++ ./qucs/qucsview.cpp 2005-04-09 09:47:23.036562128 +0200
@@ -394,16 +394,16 @@
     if(pe->Type == isWire) {
       pw = (Wire*)pe;   // connecting wires are not moved completely
 
-      if(int(pw->Port1) > 3) {
+      if(long(pw->Port1) > 3) {
        pw->x1 += MAx1;  pw->y1 += MAy1;
        if(pw->Label) { pw->Label->cx += MAx1;  pw->Label->cy += MAy1; }
       }
-      else {  if(int(pw->Port1) & 1) { pw->x1 += MAx1; }
-              if(int(pw->Port1) & 2) { pw->y1 += MAy1; } }
+      else {  if(long(pw->Port1) & 1) { pw->x1 += MAx1; }
+              if(long(pw->Port1) & 2) { pw->y1 += MAy1; } }
 
-      if(int(pw->Port2) > 3) { pw->x2 += MAx1;  pw->y2 += MAy1; }
-      else {  if(int(pw->Port2) & 1) pw->x2 += MAx1;
-              if(int(pw->Port2) & 2) pw->y2 += MAy1; }
+      if(long(pw->Port2) > 3) { pw->x2 += MAx1;  pw->y2 += MAy1; }
+      else {  if(long(pw->Port2) & 1) pw->x2 += MAx1;
+              if(long(pw->Port2) & 2) pw->y2 += MAy1; }
 
       if(pw->Label) {      // root of node label must lie on wire
         if(pw->Label->cx < pw->x1) pw->Label->cx = pw->x1;
@@ -608,13 +608,13 @@
     if(pe->Type == isWire) {
       pw = (Wire*)pe;   // connecting wires are not moved completely
 
-      if(int(pw->Port1) > 3) { pw->x1 += MAx1;  pw->y1 += MAy1; }
-      else {  if(int(pw->Port1) & 1) { pw->x1 += MAx1; }
-              if(int(pw->Port1) & 2) { pw->y1 += MAy1; } }
-
-      if(int(pw->Port2) > 3) { pw->x2 += MAx1;  pw->y2 += MAy1; }
-      else {  if(int(pw->Port2) & 1) pw->x2 += MAx1;
-              if(int(pw->Port2) & 2) pw->y2 += MAy1; }
+      if(long(pw->Port1) > 3) { pw->x1 += MAx1;  pw->y1 += MAy1; }
+      else {  if(long(pw->Port1) & 1) { pw->x1 += MAx1; }
+              if(long(pw->Port1) & 2) { pw->y1 += MAy1; } }
+
+      if(long(pw->Port2) > 3) { pw->x2 += MAx1;  pw->y2 += MAy1; }
+      else {  if(long(pw->Port2) & 1) pw->x2 += MAx1;
+              if(long(pw->Port2) & 2) pw->y2 += MAy1; }
 
       if(pw->Label) {      // root of node label must lie on wire
         if(pw->Label->cx < pw->x1) pw->Label->cx = pw->x1;

---------------------------------------
Received: (at 303863-close) by bugs.debian.org; 10 Nov 2005 10:39:44 +0000
>From [EMAIL PROTECTED] Thu Nov 10 02:39:44 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1Ea9j0-0003RC-OF; Thu, 10 Nov 2005 02:32:10 -0800
From: [EMAIL PROTECTED] (=?utf-8?b?Sm9zw6kgTC4gUmVkcmVqbyBSb2Ryw61ndWV6?=)
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#303863: fixed in qucs 0.0.7-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 10 Nov 2005 02:32:10 -0800
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: qucs
Source-Version: 0.0.7-2

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

qucs_0.0.7-2.diff.gz
  to pool/main/q/qucs/qucs_0.0.7-2.diff.gz
qucs_0.0.7-2.dsc
  to pool/main/q/qucs/qucs_0.0.7-2.dsc
qucs_0.0.7-2_powerpc.deb
  to pool/main/q/qucs/qucs_0.0.7-2_powerpc.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.
José L. Redrejo Rodríguez <[EMAIL PROTECTED]> (supplier of updated qucs 
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: Sat, 3 Sep 2005 10:16:23 +0200
Source: qucs
Binary: qucs
Architecture: source powerpc
Version: 0.0.7-2
Distribution: unstable
Urgency: low
Maintainer: José L. Redrejo Rodríguez <[EMAIL PROTECTED]>
Changed-By: José L. Redrejo Rodríguez <[EMAIL PROTECTED]>
Description: 
 qucs       - Quite Universal Circuit Simulator
Closes: 303863
Changes: 
 qucs (0.0.7-2) unstable; urgency=low
 .
   * New patch from the upstream release trying to fix again FTBFS on amd64 
(Closes: #303863).
   * Added man page for qucslib
   * debian/control.in:
    - increased Standards-Version to 3.6.2 with no changes
Files: 
 444e4991f5b1131e20b526e6be8e62cb 633 electronics optional qucs_0.0.7-2.dsc
 2f10bc6213ca24f2af2693e2035bd4a2 16221 electronics optional 
qucs_0.0.7-2.diff.gz
 f88fef4108cffd04c45952b6a8e35212 1818122 electronics optional 
qucs_0.0.7-2_powerpc.deb

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

iD8DBQFDcyALHkQIZYcutOURAgw4AJ4iLskNhaRUdBFhs6oC4onQm2ehHwCggjPn
GrlyN+d7jbhsmBuAXjQVJgs=
=DRKN
-----END PGP SIGNATURE-----


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

Reply via email to