Your message dated Sat, 24 Sep 2005 06:29:22 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#303721: fixed in plptools 0.14-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; 8 Apr 2005 11:33:58 +0000 >From [EMAIL PROTECTED] Fri Apr 08 04:33:58 2005 Return-path: <[EMAIL PROTECTED]> Received: from c203154.adsl.hansenet.de (localhost.localdomain) [213.39.203.154] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DJrkL-00037D-00; Fri, 08 Apr 2005 04:33:57 -0700 Received: from aj by localhost.localdomain with local (Exim 4.50) id 1DJrkJ-00062i-VF; Fri, 08 Apr 2005 13:33:55 +0200 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: plptools: FTBFS (amd64/gcc-4.0): using typedef-name 'std::ostream' after 'class' Message-Id: <[EMAIL PROTECTED]> Date: Fri, 08 Apr 2005 13:33:55 +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: plptools Version: 0.12-5 Severity: normal Tags: patch When building 'plptools' on amd64/unstable with gcc-4.0, I get the following error: make[2]: Entering directory `/plptools-0.12/lib' /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../intl -D_REENTRANT -O2 -fno-exceptions -fno-check-new -c bufferarray.cc mkdir .libs c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../intl -D_REENTRANT -O2 -fno-exceptions -fno-check-new -Wp,-MD,.deps/bufferarray.pp -c bufferarray.cc -fPIC -o .libs/bufferarray.o In file included from /usr/lib/gcc/x86_64-linux/4.0.0/../../../../include/c++/4.0.0/backward/stream.h:31, from bufferarray.cc:25: /usr/lib/gcc/x86_64-linux/4.0.0/../../../../include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. bufferstore.h:132: error: using typedef-name 'std::ostream' after 'class' /usr/lib/gcc/x86_64-linux/4.0.0/../../../../include/c++/4.0.0/iosfwd:138: error: 'std::ostream' has a previous declaration here make[2]: *** [bufferarray.lo] Error 1 make[2]: Leaving directory `/plptools-0.12/lib' With the attached patch 'plptools' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/plptools-0.12/lib/bufferstore.h ./lib/bufferstore.h --- ../tmp-orig/plptools-0.12/lib/bufferstore.h 2002-07-14 21:07:04.000000000 +0200 +++ ./lib/bufferstore.h 2005-04-08 12:32:49.030069041 +0200 @@ -129,7 +129,7 @@ * * @returns The stream. */ - friend class std::ostream &operator<<(std::ostream &, const bufferStore &); + friend std::ostream &operator<<(std::ostream &, const bufferStore &); /** * Tests if the bufferStore is empty. diff -urN ../tmp-orig/plptools-0.12/lib/psiprocess.h ./lib/psiprocess.h --- ../tmp-orig/plptools-0.12/lib/psiprocess.h 2002-07-14 21:07:04.000000000 +0200 +++ ./lib/psiprocess.h 2005-04-08 12:29:07.648242696 +0200 @@ -105,7 +105,7 @@ * The output is in human readable similar to the * output of a "ls" command. */ - friend class std::ostream &operator<<(std::ostream &o, const PsiProcess &p); + friend std::ostream &operator<<(std::ostream &o, const PsiProcess &p); private: friend class rpcs; diff -urN ../tmp-orig/plptools-0.12/ncpd/channel.h ./ncpd/channel.h --- ../tmp-orig/plptools-0.12/ncpd/channel.h 2002-03-17 00:10:51.000000000 +0100 +++ ./ncpd/channel.h 2005-04-08 12:25:22.196224514 +0200 @@ -45,15 +45,15 @@ void ncpSend(bufferStore &a); void setVerbose(short int _verbose); short int getVerbose(); - virtual void ncpDataCallback(bufferStore &a) = NULL; - virtual char *getNcpRegisterName() = NULL; + virtual void ncpDataCallback(bufferStore &a) = 0; + virtual char *getNcpRegisterName() = 0; void ncpConnect(); void ncpRegister(); void ncpDoRegisterAck(int ch, const char *name); - virtual void ncpConnectAck() = NULL; - virtual void ncpConnectTerminate() = NULL; - virtual void ncpConnectNak() = NULL; - virtual void ncpRegisterAck() = NULL; + virtual void ncpConnectAck() = 0; + virtual void ncpConnectTerminate() = 0; + virtual void ncpConnectNak() = 0; + virtual void ncpRegisterAck() = 0; void ncpDisconnect(); short int ncpProtocolVersion(); const char *getNcpConnectName(); diff -urN ../tmp-orig/plptools-0.12/ncpd/ncp.cc ./ncpd/ncp.cc --- ../tmp-orig/plptools-0.12/ncpd/ncp.cc 2002-07-16 21:40:29.000000000 +0200 +++ ./ncpd/ncp.cc 2005-04-08 12:32:54.454036151 +0200 @@ -380,7 +380,7 @@ bool ncp:: isValidChannel(int channel) { - return (channelPtr[channel] && ((int)channelPtr[channel] != 0xdeadbeef)); + return (channelPtr[channel] && ((long)channelPtr[channel] != 0xdeadbeef)); } void ncp:: diff -urN ../tmp-orig/plptools-0.12/sisinstall/sisinstaller.cpp ./sisinstall/sisinstaller.cpp --- ../tmp-orig/plptools-0.12/sisinstall/sisinstaller.cpp 2002-07-06 20:39:34.000000000 +0200 +++ ./sisinstall/sisinstaller.cpp 2005-04-08 12:34:43.867204352 +0200 @@ -515,7 +515,7 @@ newtFormAddComponent(form, text); newtFormAddComponent(form, listbox); newtRunForm(form); - lang = (int)newtListboxGetCurrent(listbox); + lang = (long)newtListboxGetCurrent(listbox); newtFormDestroy(form); newtPopWindow(); } @@ -802,7 +802,7 @@ newtFormAddComponent(form, text); newtFormAddComponent(form, listbox); newtRunForm(form); - m_drive = 'A' + (int)newtListboxGetCurrent(listbox); + m_drive = 'A' + (long)newtListboxGetCurrent(listbox); newtFormDestroy(form); newtPopWindow(); } diff -urN ../tmp-orig/plptools-0.12/lib/Enum.h ./lib/Enum.h --- ../tmp-orig/plptools-0.12/lib/Enum.h 2005-04-08 13:23:38.394713960 +0200 +++ ./lib/Enum.h 2005-04-08 13:00:39.800091255 +0200 @@ -258,9 +258,10 @@ * XXX: throw OutOfRangeException ? */ static E getValueFor(const std::string &s) { - return (E) staticData.stringRep.lookup(s.getCStr()); + return (E) staticData.stringRep.lookup(s/*.getCStr()*/); } }; +template<typename E> typename Enum<E>::sdata Enum<E>::staticData; /** * Helper macro to construct an enumeration wrapper Enum<E> for @@ -301,12 +302,12 @@ * The definition of the static variable holding the static \ * data for this Enumeration wrapper. \ */ \ -Enum<EnumName>::sdata Enum<EnumName>::staticData; \ +template Enum<EnumName>::sdata Enum<EnumName>::staticData; \ /** \ * actual definition of the constructor for the static data. \ * This is called implicitly by the definition above. \ */ \ -Enum<EnumName>::sdata::sdata() : \ +template <> Enum<EnumName>::sdata::sdata() : \ name(#EnumName),defaultValue(initWith) /** --------------------------------------- Received: (at 303721-close) by bugs.debian.org; 24 Sep 2005 13:38:46 +0000 >From [EMAIL PROTECTED] Sat Sep 24 06:38:46 2005 Return-path: <[EMAIL PROTECTED]> Received: from joerg by spohr.debian.org with local (Exim 3.36 1 (Debian)) id 1EJA5i-0000TI-00; Sat, 24 Sep 2005 06:29:22 -0700 From: John Lines <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: lisa $Revision: 1.30 $ Subject: Bug#303721: fixed in plptools 0.14-1 Message-Id: <[EMAIL PROTECTED]> Sender: Joerg Jaspert <[EMAIL PROTECTED]> Date: Sat, 24 Sep 2005 06:29:22 -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: plptools Source-Version: 0.14-1 We believe that the bug you reported is fixed in the latest version of plptools, which is due to be installed in the Debian FTP archive: klipsi_0.14-1_i386.deb to pool/main/p/plptools/klipsi_0.14-1_i386.deb kpsion_0.14-1_i386.deb to pool/main/p/plptools/kpsion_0.14-1_i386.deb plptools-dev_0.14-1_i386.deb to pool/main/p/plptools/plptools-dev_0.14-1_i386.deb plptools-kde_0.14-1_i386.deb to pool/main/p/plptools/plptools-kde_0.14-1_i386.deb plptools_0.14-1.diff.gz to pool/main/p/plptools/plptools_0.14-1.diff.gz plptools_0.14-1.dsc to pool/main/p/plptools/plptools_0.14-1.dsc plptools_0.14-1_i386.deb to pool/main/p/plptools/plptools_0.14-1_i386.deb plptools_0.14.orig.tar.gz to pool/main/p/plptools/plptools_0.14.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. John Lines <[EMAIL PROTECTED]> (supplier of updated plptools 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, 18 Sep 2005 18:33:25 +0100 Source: plptools Binary: klipsi plptools-dev plptools-kde kpsion plptools Architecture: source i386 Version: 0.14-1 Distribution: unstable Urgency: low Maintainer: John Lines <[EMAIL PROTECTED]> Changed-By: John Lines <[EMAIL PROTECTED]> Description: klipsi - Remote Cut&Paste for Psion PDA kpsion - Backup and Restore of a Psion PDA plptools - Access a Psion PDA over a serial link plptools-dev - plptools (development files) plptools-kde - KDE integration of plptools Closes: 268538 303721 304950 325483 326308 Changes: plptools (0.14-1) unstable; urgency=low . * New Upstream release (Closes: #325483,#304950) * Use libreadline5 (Closes: #326308) * Add po-debconf to Build-Depends * Add plptools-kde, kpsion and klipsi back into control file * Correct spelling in plptools-kde control section (Closes: #268538) * New upstream contains fixes to enable gcc 4.0 compile (Closes: #303721) Files: 498509d6c6b8733f966012f61cc67457 889 otherosfs optional plptools_0.14-1.dsc 2b830bcdaee908397b045affdbd51acb 1246344 otherosfs optional plptools_0.14.orig.tar.gz b50bcac996ad3fccfd08068c4c0385e6 39443 otherosfs optional plptools_0.14-1.diff.gz ba4f94dbceab2427dc6f1fccabe978a1 313198 otherosfs optional plptools_0.14-1_i386.deb d46b6ccfc3bbbeb360b7f945cf6b01d8 291264 devel optional plptools-dev_0.14-1_i386.deb 9ff08a21bcfedfbe5ac10f709fb2c02a 126588 otherosfs optional plptools-kde_0.14-1_i386.deb 926cd44485b30c31f3bd00134f1df275 327184 otherosfs optional kpsion_0.14-1_i386.deb 39e41dae71fc4629adb1b4599117cdd6 39832 otherosfs optional klipsi_0.14-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iQCVAwUBQy2zp50KIkah3rc9AQLV1wP9EWkh6t+rEftxlw7wJhvFquqqFwHPZhLT Sjg7CfyYf45jtomjZaJ518VKTC07Ga1d718NwGDAbtNUDcH5FOFz08N0R1FzNixw KF17lIz+p6u+iABOy8jaINH+EtMDtjeqtQyse2hxRmJTkQCSUAVAclDDSlm5Rud9 h75cdGyg/+k= =j0cI -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]