Your message dated Fri, 05 Aug 2005 03:32:14 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#265526: fixed in mysql++ 1.7.40-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; 13 Aug 2004 14:55:02 +0000
>From [EMAIL PROTECTED] Fri Aug 13 07:55:02 2004
Return-path: <[EMAIL PROTECTED]>
Received: from d001029.adsl.hansenet.de (localhost) [80.171.1.29] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1BvdSP-0008Hj-00; Fri, 13 Aug 2004 07:55:01 -0700
Received: from aj by localhost with local (Exim 4.34)
        id 1BvdSL-0005LD-TB; Fri, 13 Aug 2004 16:54:57 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: mysql++: FTBFS with gcc-3.4: `sql_use_compare' undeclared (first use 
this function)
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 13 Aug 2004 16:54:57 +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: mysql++
Severity: normal
Tags: patch

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

In file included from query1.hh:12,
                 from connection1.hh:20,
                 from connection2.hh:4,
                 from connection3.hh:2,
                 from connection.cc:2:
sql_query1.hh: In member function `SQLQuery& SQLQuery::update(const T&, const 
T&)':
sql_query1.hh:171: error: `sql_use_compare' undeclared (first use this function)
sql_query1.hh:171: error: (Each undeclared identifier is reported only once for 
each function it appears in.)
make[4]: *** [connection.lo] Error 1
make[4]: Leaving directory `/mysql++-1.7.9.sp4/sqlplusint'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/mysql++-1.7.9.sp4/sqlplusint/coldata3.hh 
./sqlplusint/coldata3.hh
--- ../tmp-orig/mysql++-1.7.9.sp4/sqlplusint/coldata3.hh        2001-05-19 
18:44:48.000000000 +0200
+++ ./sqlplusint/coldata3.hh    2004-08-13 16:46:53.955821009 +0200
@@ -16,7 +16,7 @@
 template <class Str> template <class T, class B> 
 mysql_ColData<Str>::operator Null<T,B> () const {
   if ((*this)[0] == 'N' && (*this)[1] == 'U' && 
-      (*this)[2] == 'U' && (*this)[3] == 'L' && size() == 4)
+      (*this)[2] == 'U' && (*this)[3] == 'L' && this->size() == 4)
     return Null<T,B>(null);
   else return Null<T,B>(conv(T()));
 }
diff -urN ../tmp-orig/mysql++-1.7.9.sp4/sqlplusint/coldata4.hh 
./sqlplusint/coldata4.hh
--- ../tmp-orig/mysql++-1.7.9.sp4/sqlplusint/coldata4.hh        2003-03-06 
19:16:21.000000000 +0100
+++ ./sqlplusint/coldata4.hh    2004-08-13 16:46:38.538164849 +0200
@@ -20,7 +20,7 @@
     for (;*end == '0'; end++);
   }
   if (*end != '\0' && end != NULL ) {
-    throw BadConversion (typeid(Type).name(), c_str(), end - str, len);
+    throw BadConversion (typeid(Type).name(), this->c_str(), end - str, len);
   }
   return num;
 }
diff -urN ../tmp-orig/mysql++-1.7.9.sp4/sqlplusint/compare1.hh 
./sqlplusint/compare1.hh
--- ../tmp-orig/mysql++-1.7.9.sp4/sqlplusint/compare1.hh        2003-03-06 
19:16:26.000000000 +0100
+++ ./sqlplusint/compare1.hh    2004-08-13 16:48:54.765455153 +0200
@@ -23,7 +23,7 @@
 public:
   MysqlCmpCStr(uint i, const BinaryPred &f, const char* c) : 
MysqlCmp<BinaryPred, const char *> (i,f,c) {}
   bool operator () (const MysqlRow& cmp1) const 
-    {return func(cmp2,cmp1[index]);}
+    {return this->func(this->cmp2,cmp1[(int)index]);}
 };
 
 //: A special function for using in find_if function where i is the field 
index number.
diff -urN ../tmp-orig/mysql++-1.7.9.sp4/sqlplusint/set3.hh ./sqlplusint/set3.hh
--- ../tmp-orig/mysql++-1.7.9.sp4/sqlplusint/set3.hh    2003-03-06 
19:16:26.000000000 +0100
+++ ./sqlplusint/set3.hh        2004-08-13 16:45:51.637294865 +0200
@@ -20,8 +20,8 @@
 
 template <class Container>
 ostream& Set<Container>::out_stream (ostream &s) const {
-  typename Container::const_iterator i = begin();
-  typename Container::const_iterator e = end();
+  typename Container::const_iterator i = this->begin();
+  typename Container::const_iterator e = this->end();
   while (true) {
     s << *i;
     i++;
diff -urN ../tmp-orig/mysql++-1.7.9.sp4/sqlplusint/sql_query1.hh 
./sqlplusint/sql_query1.hh
--- ../tmp-orig/mysql++-1.7.9.sp4/sqlplusint/sql_query1.hh      2003-10-09 
17:35:05.000000000 +0200
+++ ./sqlplusint/sql_query1.hh  2004-08-13 16:42:02.612111985 +0200
@@ -168,7 +168,7 @@
   template <class T> SQLQuery& update(const T &o, const T &n) {
     reset();
     *this << "UPDATE " << o.table() << " SET " << n.equal_list() 
-          << " WHERE " << o.equal_list(" AND ", sql_use_compare);
+          << " WHERE " << o.equal_list(" AND ", 0 /* sql_use_compare */);
     return *this;
   } //:
   template <class T> SQLQuery& insert(const T &v) {

---------------------------------------
Received: (at 265526-close) by bugs.debian.org; 5 Aug 2005 11:05:11 +0000
>From [EMAIL PROTECTED] Fri Aug 05 04:05:11 2005
Return-path: <[EMAIL PROTECTED]>
Received: from joerg by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E0zUs-0008LJ-00; Fri, 05 Aug 2005 03:32:14 -0700
From: Andres Salomon <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#265526: fixed in mysql++ 1.7.40-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Joerg Jaspert <[EMAIL PROTECTED]>
Date: Fri, 05 Aug 2005 03:32:14 -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: 4

Source: mysql++
Source-Version: 1.7.40-1

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

libsqlplus-dev_1.7.40-1_i386.deb
  to pool/main/m/mysql++/libsqlplus-dev_1.7.40-1_i386.deb
libsqlplus4_1.7.40-1_i386.deb
  to pool/main/m/mysql++/libsqlplus4_1.7.40-1_i386.deb
mysql++_1.7.40-1.diff.gz
  to pool/main/m/mysql++/mysql++_1.7.40-1.diff.gz
mysql++_1.7.40-1.dsc
  to pool/main/m/mysql++/mysql++_1.7.40-1.dsc
mysql++_1.7.40.orig.tar.gz
  to pool/main/m/mysql++/mysql++_1.7.40.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.
Andres Salomon <[EMAIL PROTECTED]> (supplier of updated mysql++ 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: Fri, 24 Jun 2005 11:49:19 -0400
Source: mysql++
Binary: libsqlplus-dev libsqlplus4
Architecture: source i386
Version: 1.7.40-1
Distribution: unstable
Urgency: low
Maintainer: Andres Salomon <[EMAIL PROTECTED]>
Changed-By: Andres Salomon <[EMAIL PROTECTED]>
Description: 
 libsqlplus-dev - mysql C++ library bindings (development)
 libsqlplus4 - mysql C++ library bindings
Closes: 265526 278534 291281 292427 303554
Changes: 
 mysql++ (1.7.40-1) unstable; urgency=low
 .
   * Hijack this package, as the maintainer is apparently MIA.
   * New upstream release (closes: #278534, #303554).
   * Ack NMU; thanks! (closes: #291281, #292427).
   * This version builds with gcc4 (closes: #265526).
   * Update copyright file, new upstream URL, and add myself as a maintainer.
   * Bump SONAME.
   * Switch build system to cdbs.
   * Remove the various bits about this package being unmaintained upstream;
     it is now an active project.  Update various other documentation.
   * Stop building examples, and certainly stop shipping gzipped object
     files in /usr/share/doc that are never used.
Files: 
 fc17cac3f4c670e958e840d712e1ced8 643 libs optional mysql++_1.7.40-1.dsc
 163893856a9e5dbacffcb5ca6ad47c37 1819351 libs optional 
mysql++_1.7.40.orig.tar.gz
 7e6e4da6ef904f05bdfa9d2e2fce3670 4180 libs optional mysql++_1.7.40-1.diff.gz
 b1fed4fdb96ae8937dca7dbfdabe3e05 1688672 libdevel optional 
libsqlplus-dev_1.7.40-1_i386.deb
 2c8720effc2f9db1c1898c0b6a49bbd1 92796 libs optional 
libsqlplus4_1.7.40-1_i386.deb

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

iD8DBQFC8oDy78o9R9NraMQRAkBzAKC/dZX+ImP6qx6sPyjh0tqNLYC/GACeOhex
Ei5dZV6sl57mnJ+3ABeGSns=
=T/tg
-----END PGP SIGNATURE-----


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

Reply via email to