Your message dated Sun, 07 Aug 2005 07:32:02 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#258560: fixed in cccc 3.pre84-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; 10 Jul 2004 10:21:08 +0000 >From [EMAIL PROTECTED] Sat Jul 10 03:21:08 2004 Return-path: <[EMAIL PROTECTED]> Received: from c147245.adsl.hansenet.de (localhost) [213.39.147.245] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1BjEyh-0003mV-00; Sat, 10 Jul 2004 03:21:07 -0700 Received: from aj by localhost with local (Exim 4.34) id 1BjEyg-0000AO-F6; Sat, 10 Jul 2004 12:21:06 +0200 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: cccc: FTBFS with gcc-3.4: there are no arguments to `end' that depend on a template parameter Message-Id: <[EMAIL PROTECTED]> Date: Sat, 10 Jul 2004 12:21:06 +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: cccc Severity: normal Tags: patch When building 'cccc' with gcc-3.4 I get the following error: g++ -c -I/usr/include/pccts -g -Wno-deprecated -Wall -x c++ cccc_tbl.cc -occcc_tbl.o cccc_tbl.cc: In constructor `CCCC_Table<T>::CCCC_Table()': cccc_tbl.cc:11: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available cccc_tbl.cc:11: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) cccc_tbl.cc: In member function `T* CCCC_Table<T>::find(std::string)': cccc_tbl.cc:49: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available cccc_tbl.cc: In member function `void CCCC_Table<T>::reset_iterator()': cccc_tbl.cc:94: error: there are no arguments to `begin' that depend on a template parameter, so a declaration of `begin' must be available cccc_tbl.cc: In member function `T* CCCC_Table<T>::next_item()': cccc_tbl.cc:106: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available cccc_tbl.cc: In member function `int CCCC_Table<T>::records()': cccc_tbl.cc:116: error: there are no arguments to `size' that depend on a template parameter, so a declaration of `size' must be available make[1]: *** [cccc_tbl.o] Error 1 make[1]: Leaving directory `/cccc-3.pre81/cccc' make: *** [build-stamp] Error 2 With the attached patch 'cccc' can be compiled using gcc-3.4. Regards Andreas Jochens diff -urN ../tmp-orig/cccc-3.pre81/cccc/cccc_tbl.cc ./cccc/cccc_tbl.cc --- ../tmp-orig/cccc-3.pre81/cccc/cccc_tbl.cc 2004-07-10 12:16:50.536432412 +0200 +++ ./cccc/cccc_tbl.cc 2004-07-10 12:15:48.081553795 +0200 @@ -8,7 +8,7 @@ template <class T> CCCC_Table<T>::CCCC_Table() -: iter_(end()), sorted(true) +: iter_(this->end()), sorted(true) { } @@ -46,7 +46,7 @@ { T *retval=NULL; typename map_t::iterator value_iterator=map_t::find(name); - if(value_iterator!=end()) + if(value_iterator!=this->end()) { retval=(*value_iterator).second; } @@ -91,7 +91,7 @@ template <class T> void CCCC_Table<T>::reset_iterator() { - iter_=begin(); + iter_=this->begin(); } template <class T> T* CCCC_Table<T>::first_item() @@ -103,7 +103,7 @@ template <class T> T* CCCC_Table<T>::next_item() { T* retval=NULL; - if(iter_!=end()) + if(iter_!=this->end()) { retval=(*iter_).second; iter_++; @@ -113,7 +113,7 @@ template <class T> int CCCC_Table<T>::records() { - return size(); + return this->size(); } #include "cccc_db.h" --------------------------------------- Received: (at 258560-close) by bugs.debian.org; 7 Aug 2005 14:39:43 +0000 >From [EMAIL PROTECTED] Sun Aug 07 07:39:43 2005 Return-path: <[EMAIL PROTECTED]> Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian)) id 1E1mC2-0002j6-00; Sun, 07 Aug 2005 07:32:02 -0700 From: Colin Watson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.56 $ Subject: Bug#258560: fixed in cccc 3.pre84-1 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Sun, 07 Aug 2005 07:32:02 -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: cccc Source-Version: 3.pre84-1 We believe that the bug you reported is fixed in the latest version of cccc, which is due to be installed in the Debian FTP archive: cccc_3.pre84-1.diff.gz to pool/main/c/cccc/cccc_3.pre84-1.diff.gz cccc_3.pre84-1.dsc to pool/main/c/cccc/cccc_3.pre84-1.dsc cccc_3.pre84-1_powerpc.deb to pool/main/c/cccc/cccc_3.pre84-1_powerpc.deb cccc_3.pre84.orig.tar.gz to pool/main/c/cccc/cccc_3.pre84.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. Colin Watson <[EMAIL PROTECTED]> (supplier of updated cccc 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: Sun, 7 Aug 2005 15:12:12 +0100 Source: cccc Binary: cccc Architecture: source powerpc Version: 3.pre84-1 Distribution: unstable Urgency: low Maintainer: Colin Watson <[EMAIL PROTECTED]> Changed-By: Colin Watson <[EMAIL PROTECTED]> Description: cccc - C and C++ Code Counter, a software metrics tool Closes: 202797 258560 315117 Changes: cccc (3.pre84-1) unstable; urgency=low . * New upstream release. - Works around previous prn14 test problems, so I've removed my temporary hack (closes: #202797). * Fix various compiler errors when using g++ 4.0 (thanks, Andreas Jochens; closes: #258560, #315117). * Upgrade to debhelper v4. Files: 2eac50e569a417f79944427ca5fa60bb 559 devel optional cccc_3.pre84-1.dsc 7b3d8bd3cbb27d7b9debe5c3398f9f7f 622373 devel optional cccc_3.pre84.orig.tar.gz 87ec7d4c573a712b47de8aa3f04f1a38 3654 devel optional cccc_3.pre84-1.diff.gz f2a0e61d91945f285edb4b34c5212be8 207770 devel optional cccc_3.pre84-1_powerpc.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC9hhF9t0zAhD6TNERAnkVAJ4gegccir7HScrkB+j24QgnZYotDgCeMTy0 XGlmjntBZoHEQx+9BcgNRIM= =MyIA -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]