Package: tntdb
Version: 1.0.1-1
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of tntdb_1.0.1-1 on em64t by sbuild/amd64 0.53
...
>  g++ -DHAVE_CONFIG_H -I. -I. -I. -I../include -DDRIVERDIR=\"/usr/lib/tntdb\" 
> -g -O2 -g -Wall -O2 -I/usr/include -c connect.cpp  -fPIC -DPIC -o 
> .libs/libtntdb_la-connect.o
> In file included from ../include/tntdb/bits/statement.h:24,
>                  from ../include/tntdb/bits/connection.h:25,
>                  from ../include/tntdb/connection.h:22,
>                  from ../include/tntdb/connect.h:23,
>                  from connect.cpp:19:
> ../include/tntdb/iface/istatement.h:48: error: 'int32_t' has not been declared
> ../include/tntdb/iface/istatement.h:49: error: 'uint32_t' has not been 
> declared
> ../include/tntdb/iface/istatement.h:50: error: 'int64_t' has not been declared
> ../include/tntdb/iface/istatement.h:51: error: 'uint64_t' has not been 
> declared

--- include/tntdb/mysql/bindutils.h~    2008-11-08 08:31:42.000000000 +0000
+++ include/tntdb/mysql/bindutils.h     2008-11-08 08:31:49.000000000 +0000
@@ -20,6 +20,7 @@
 #define TNTDB_MYSQL_BINDUTILS_H
 
 #include <mysql.h>
+#include <stdint.h>
 #include <string>
 
 namespace tntdb
--- include/tntdb/bits/statement.h~     2008-11-08 08:26:19.000000000 +0000
+++ include/tntdb/bits/statement.h      2008-11-08 08:26:26.000000000 +0000
@@ -19,6 +19,7 @@
 #ifndef TNTDB_BITS_STATEMENT_H
 #define TNTDB_BITS_STATEMENT_H
 
+#include <stdint.h>
 #include <string>
 #include <cxxtools/smartptr.h>
 #include <tntdb/iface/istatement.h>
--- include/tntdb/iface/ivalue.h~       2008-11-08 08:28:44.000000000 +0000
+++ include/tntdb/iface/ivalue.h        2008-11-08 08:28:51.000000000 +0000
@@ -20,6 +20,7 @@
 #define TNTDB_IFACE_IVALUE_H
 
 #include <cxxtools/refcounted.h>
+#include <stdint.h>
 #include <string>
 
 namespace tntdb
--- include/tntdb/iface/istatement.h~   2008-11-08 08:30:29.000000000 +0000
+++ include/tntdb/iface/istatement.h    2008-11-08 08:30:33.000000000 +0000
@@ -20,6 +20,7 @@
 #define TNTDB_IFACE_ISTATEMENT_H
 
 #include <cxxtools/refcounted.h>
+#include <stdint.h>
 #include <string>
 
 namespace tntdb
--- include/tntdb/decimal.h~    2008-11-08 08:27:47.000000000 +0000
+++ include/tntdb/decimal.h     2008-11-08 08:27:52.000000000 +0000
@@ -19,6 +19,7 @@
 #ifndef TNTDB_DECIMAL_H
 #define TNTDB_DECIMAL_H
 
+#include <stdint.h>
 #include <string>
 #include <iostream>
 #include <sstream>

-- 
Martin Michlmayr
http://www.cyrius.com/



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

Reply via email to