Your message dated Mon, 22 Aug 2005 14:32:13 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#303863: fixed in qucs 0.0.7-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; 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; 22 Aug 2005 21:40:38 +0000
>From [EMAIL PROTECTED] Mon Aug 22 14:40:38 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1E7Jtt-0002UQ-00; Mon, 22 Aug 2005 14:32:13 -0700
From: [EMAIL PROTECTED] (=?utf-8?b?Sm9zw6kgTC4gUmVkcmVqbyBSb2Ryw61ndWV6?=)
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#303863: fixed in qucs 0.0.7-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 22 Aug 2005 14:32:13 -0700
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-1
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-1.diff.gz
to pool/main/q/qucs/qucs_0.0.7-1.diff.gz
qucs_0.0.7-1.dsc
to pool/main/q/qucs/qucs_0.0.7-1.dsc
qucs_0.0.7-1_i386.deb
to pool/main/q/qucs/qucs_0.0.7-1_i386.deb
qucs_0.0.7.orig.tar.gz
to pool/main/q/qucs/qucs_0.0.7.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.
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, 23 Jul 2005 11:38:18 +0200
Source: qucs
Binary: qucs
Architecture: source i386
Version: 0.0.7-1
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-1) unstable; urgency=low
.
* New upstream release (Closes: #303863).
* Modified name from Qt Universal... to Quite Universal to comply Trolltech
indications.
Files:
f96574d1479f416d8044f0a9d74c2926 619 electronics optional qucs_0.0.7-1.dsc
1c69c28b525149a8bdabcb85e5e05eec 2166960 electronics optional
qucs_0.0.7.orig.tar.gz
0bc47d94bbaeca6d21c00648fc5792ea 10115 electronics optional
qucs_0.0.7-1.diff.gz
ec6350cd54ff30990f9230255da2b277 1766304 electronics optional
qucs_0.0.7-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFDCkKVHkQIZYcutOURAqIsAJ4/nf++5jcjFa5yEtVP1RF2PFn6rgCdG/JK
3jTaAC8ivxgRoCAU+7Agygo=
=poOu
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]