Your message dated Thu, 03 Mar 2005 00:32:33 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#264441: fixed in ubit 3.6.4-3
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; 8 Aug 2004 21:53:25 +0000
>From [EMAIL PROTECTED] Sun Aug 08 14:53:25 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c214188.adsl.hansenet.de (localhost) [213.39.214.188] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1BtvbY-0003Q7-00; Sun, 08 Aug 2004 14:53:25 -0700
Received: from aj by localhost with local (Exim 4.34)
        id 1BtvbX-0002Iy-Ih; Sun, 08 Aug 2004 23:53:23 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: ubit: FTBFS with gcc-3.4: `from_ima' undeclared
Message-Id: <[EMAIL PROTECTED]>
Date: Sun, 08 Aug 2004 23:53:23 +0200
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: ubit
Severity: normal
Tags: patch

When building 'ubit' with gcc-3.4 I get the following error:

uunatima.cpp:400: error: (if you use `-fpermissive', G++ will accept your code, 
but allowing the use of an undeclared name is deprecated)
uunatima.cpp: In member function `void ResizeAlgo<copy_type>::resizeLine(int, 
int, float)':
uunatima.cpp:406: error: `from_ima' undeclared (first use this function)
uunatima.cpp:407: error: `to_ima' undeclared (first use this function)
uunatima.cpp:418: error: there are no arguments to `copy_from2to' that depend 
on a template parameter, so a declaration of `copy_from2to' must be available
uunatima.cpp:423: error: there are no arguments to `copy_from2to' that depend 
on a template parameter, so a declaration of `copy_from2to' must be available
uunatima.cpp: In member function `void 
ResizeAlgo<copy_type>::duplicateLine(int, int, int&)':
uunatima.cpp:430: error: there are no arguments to `copy_to2to' that depend on 
a template parameter, so a declaration of `copy_to2to' must be available
uunatima.cpp: In member function `void 
ResizeAlgo<copy_type>::resizeImage(float, float)':
uunatima.cpp:436: error: `from_ima' undeclared (first use this function)
uunatima.cpp:437: error: `to_ima' undeclared (first use this function)
make[4]: *** [libubit_la-uunatima.lo] Error 1
make[4]: Leaving directory `/ubit-3.6.4/src'

With the attached patch 'ubit' can be compiled using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/ubit-3.6.4/src/uunatima.cpp ./src/uunatima.cpp
--- ../tmp-orig/ubit-3.6.4/src/uunatima.cpp     2004-08-08 23:22:05.543876726 
+0200
+++ ./src/uunatima.cpp  2004-08-08 23:19:09.868249284 +0200
@@ -393,18 +393,18 @@
 
   ResizeAlgo(UNatDisp *_to_nd, XImage *_to_ima, 
             UNatDisp *_from_nd, XImage *_from_ima) {
-    to_nd    = _to_nd;
-    to_ima   = _to_ima;
-    from_nd  = _from_nd;
-    from_ima = _from_ima;
-    init();
+    this->to_nd    = _to_nd;
+    this->to_ima   = _to_ima;
+    this->from_nd  = _from_nd;
+    this->from_ima = _from_ima;
+    this->init();
   }
 
   // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
   inline void resizeLine(int in_y, int out_y, float xscale) {
-    int in_w  = from_ima->width;
-    int out_w = to_ima->width;
+    int in_w  = this->from_ima->width;
+    int out_w = this->to_ima->width;
     int in_x, out_x;
     float out_flx = 0.0;
     int last_out_x = 0;
@@ -415,27 +415,27 @@
       if (out_x > out_w) out_x = out_w;
       
       for (; last_out_x < out_x; last_out_x++) 
-       copy_from2to(last_out_x, out_y, in_x, in_y);
+       this->copy_from2to(last_out_x, out_y, in_x, in_y);
     }
     
     // fill the line if needed
     for (in_x = in_w - 1; last_out_x < out_w; last_out_x++)
-      copy_from2to(last_out_x, out_y, in_x, in_y);
+      this->copy_from2to(last_out_x, out_y, in_x, in_y);
   }
 
   // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
   inline void duplicateLine(int to_w, int to_y, int& last_to_y) {
     for (int to_x = 0; to_x < to_w; to_x++) 
-      copy_to2to(to_x, last_to_y, to_x, to_y);
+      this->copy_to2to(to_x, last_to_y, to_x, to_y);
   }
 
   // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
   void resizeImage(float xscale, float yscale) {
-    int from_h = from_ima->height, from_y;
-    int to_w   = to_ima->width;
-    int to_h   = to_ima->height;
+    int from_h = this->from_ima->height, from_y;
+    int to_w   = this->to_ima->width;
+    int to_h   = this->to_ima->height;
     int to_y;
     float y = 0.0;
     int last_to_y = 0;

---------------------------------------
Received: (at 264441-close) by bugs.debian.org; 3 Mar 2005 05:38:14 +0000
>From [EMAIL PROTECTED] Wed Mar 02 21:38:14 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 1D6j2M-00030h-00; Wed, 02 Mar 2005 21:38:14 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1D6iwr-0001if-00; Thu, 03 Mar 2005 00:32:33 -0500
From: Andrew Pollock <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#264441: fixed in ubit 3.6.4-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 03 Mar 2005 00:32:33 -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: 

Source: ubit
Source-Version: 3.6.4-3

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

libubit-dev_3.6.4-3_i386.deb
  to pool/main/u/ubit/libubit-dev_3.6.4-3_i386.deb
libubit1_3.6.4-3_i386.deb
  to pool/main/u/ubit/libubit1_3.6.4-3_i386.deb
ubit_3.6.4-3.diff.gz
  to pool/main/u/ubit/ubit_3.6.4-3.diff.gz
ubit_3.6.4-3.dsc
  to pool/main/u/ubit/ubit_3.6.4-3.dsc



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.
Andrew Pollock <[EMAIL PROTECTED]> (supplier of updated ubit 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: Thu,  3 Mar 2005 15:51:34 +1100
Source: ubit
Binary: libubit-dev libubit1
Architecture: source i386
Version: 3.6.4-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[EMAIL PROTECTED]>
Changed-By: Andrew Pollock <[EMAIL PROTECTED]>
Description: 
 libubit-dev - Development files for libubit
 libubit1   - Ubiquitous Brick Interactive Toolkit
Closes: 264441
Changes: 
 ubit (3.6.4-3) unstable; urgency=low
 .
   * QA Group upload orphaning this package
   * debian/control: build-depend on dpatch
   * debian/rules: add dpatch support
   * Add patch from Andreas Jochens to fix FTBFS with gcc-3.4 (closes: #264441)
Files: 
 5cc8bc2dc1afb4fad67efcc1bab430fa 646 libs optional ubit_3.6.4-3.dsc
 e7f1515f1e820316aad50a55c5005c97 61296 libs optional ubit_3.6.4-3.diff.gz
 cd73d81607ca1c2d7bf5235505942e02 309132 libs optional libubit1_3.6.4-3_i386.deb
 3f22c276e3bf59bfc81d7367b6f3868b 879430 libdevel optional 
libubit-dev_3.6.4-3_i386.deb

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

iD8DBQFCJp65IblXXKfZFgIRAp3dAJ9hjKdXJQmM+lG5yQdig8WrzXrGZQCcCFxn
s1Ew2f2igCKELLyYirBhRb8=
=V09j
-----END PGP SIGNATURE-----


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

Reply via email to