Your message dated Tue, 16 Aug 2005 11:47:05 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#262759: fixed in turqstat 2.2.3-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; 1 Aug 2004 20:49:25 +0000
>From [EMAIL PROTECTED] Sun Aug 01 13:49:25 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c204006.adsl.hansenet.de (localhost) [213.39.204.6] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1BrNGn-0000uM-00; Sun, 01 Aug 2004 13:49:25 -0700
Received: from aj by localhost with local (Exim 4.34)
        id 1BrNGW-0001KM-F6; Sun, 01 Aug 2004 22:49:08 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: turqstat: FTBFS with gcc-3.4: named return values are no longer 
supported
Message-Id: <[EMAIL PROTECTED]>
Date: Sun, 01 Aug 2004 22:49:08 +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: turqstat
Severity: normal
Tags: patch

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

g++ -g -O2 -I. -Wall -c ./output.cpp
./output.cpp: In function `std::string GetMessage(TDisplay::errormessages_e)':
./output.cpp:118: error: named return values are no longer supported
./output.cpp:123: error: `s' undeclared (first use this function)
./output.cpp:123: error: (Each undeclared identifier is reported only once for 
each function it appears in.)
make[1]: *** [output.o] Error 1
make[1]: Leaving directory `/turqstat-2.2.2'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/turqstat-2.2.2/output.cpp ./output.cpp
--- ../tmp-orig/turqstat-2.2.2/output.cpp       2001-10-27 12:56:39.000000000 
+0200
+++ ./output.cpp        2004-08-01 22:34:53.232397067 +0200
@@ -115,8 +115,8 @@
 }
 
 static string GetMessage(TDisplay::errormessages_e errormessage)
-    return s;
 {
+    string s;
     switch (errormessage)
     {
         case TDisplay::out_of_memory:
@@ -255,4 +255,5 @@
             s = "NNTP communication problem";
             break;
     }
+    return s;
 }
diff -urN ../tmp-orig/turqstat-2.2.2/outputqt.cpp ./outputqt.cpp
--- ../tmp-orig/turqstat-2.2.2/outputqt.cpp     2001-10-27 14:49:38.000000000 
+0200
+++ ./outputqt.cpp      2004-08-01 22:38:00.013257784 +0200
@@ -133,8 +133,8 @@
 }
 
 static QString GetMessage(TDisplay::errormessages_e errormessage)
-    return s;
 {
+    QString s;
     switch (errormessage)
     {
         case TDisplay::out_of_memory:
@@ -296,4 +296,5 @@
             s = qApp->translate("TDisplay", "NNTP communication problem");
             break;
     }
+    return s;
 }
diff -urN ../tmp-orig/turqstat-2.2.2/qtlist.cpp ./qtlist.cpp
--- ../tmp-orig/turqstat-2.2.2/qtlist.cpp       2001-09-19 20:15:21.000000000 
+0200
+++ ./qtlist.cpp        2004-08-01 22:36:15.355507482 +0200
@@ -409,11 +409,11 @@
 }
 
 QString TopListWindow::percentString(int numerator, int denumerator)
-    return s;
 {
     float percent =
         (100.0 * numerator) / (float) denumerator;
-    s = QString::number(percent, 'f', 2) + "%";
+    QString s = QString::number(percent, 'f', 2) + "%";
+    return s;
 }
 
 void TopListWindow::saveToFile()

---------------------------------------
Received: (at 262759-close) by bugs.debian.org; 16 Aug 2005 18:50:31 +0000
>From [EMAIL PROTECTED] Tue Aug 16 11:50:31 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E56Sn-0007pY-00; Tue, 16 Aug 2005 11:47:05 -0700
From: Peter Karlsson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#262759: fixed in turqstat 2.2.3-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 16 Aug 2005 11:47:05 -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
X-CrossAssassin-Score: 2

Source: turqstat
Source-Version: 2.2.3-1

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

turqstat_2.2.3-1.diff.gz
  to pool/main/t/turqstat/turqstat_2.2.3-1.diff.gz
turqstat_2.2.3-1.dsc
  to pool/main/t/turqstat/turqstat_2.2.3-1.dsc
turqstat_2.2.3-1_i386.deb
  to pool/main/t/turqstat/turqstat_2.2.3-1_i386.deb
turqstat_2.2.3.orig.tar.gz
  to pool/main/t/turqstat/turqstat_2.2.3.orig.tar.gz
xturqstat_2.2.3-1_i386.deb
  to pool/main/t/turqstat/xturqstat_2.2.3-1_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.
Peter Karlsson <[EMAIL PROTECTED]> (supplier of updated turqstat 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, 16 Aug 2005 18:30:00 +0100
Source: turqstat
Binary: turqstat xturqstat
Architecture: source i386
Version: 2.2.3-1
Distribution: unstable
Urgency: low
Maintainer: Peter Karlsson <[EMAIL PROTECTED]>
Changed-By: Peter Karlsson <[EMAIL PROTECTED]>
Description: 
 turqstat   - Fidonet and Usenet statistics program
 xturqstat  - Fidonet and Usenet statistics program for X
Closes: 262759 294391
Changes: 
 turqstat (2.2.3-1) unstable; urgency=low
 .
   * New upstream version.
   * Now compiles with modern tools.
    (Closes: Bug#262759, #294391)
Files: 
 525b6d6a7286528bca505f1936988a23 608 mail optional turqstat_2.2.3-1.dsc
 b4405cc0110960c672dbf8a6d469c6c8 289894 mail optional 
turqstat_2.2.3.orig.tar.gz
 bb58f6783b78ad3cca5c8b829fee33cc 20 mail optional turqstat_2.2.3-1.diff.gz
 0496fe5bfdc114b1dff1d05e55e120ef 105022 mail optional turqstat_2.2.3-1_i386.deb
 3846f9eda5368736cb242ea092fd9fff 145872 mail optional 
xturqstat_2.2.3-1_i386.deb

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

iD8DBQFDAjFHkryUdmOUJl4RAilgAJ0b09rwpUWpZQ8+0i/nScUoFSBYmACeJt/u
Ve7TGgjIgh1lHFeyD0hEdXA=
=0Exu
-----END PGP SIGNATURE-----


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

Reply via email to