Package: tntdb
Version: 0.9.2-1
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of tntdb_0.9.2-1 on em64t by sbuild/amd64 0.53
...
>  g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../include -I/usr/include/mysql 
> -DBIG_JOINS=1 -g -Wall -O2 -I/usr/include -c bindutils.cpp  -fPIC -DPIC -o 
> .libs/bindutils.o
> In file included from bindutils.cpp:21:
> ../../include/tntdb/date.h: In member function 'bool 
> tntdb::Date::operator<(const tntdb::Date&) const':
> ../../include/tntdb/date.h:89: warning: suggest parentheses around && within 
> ||
> ../../include/tntdb/date.h:90: warning: suggest parentheses around && within 
> ||
> In file included from bindutils.cpp:22:
> ../../include/tntdb/time.h: In member function 'bool 
> tntdb::Time::operator<(const tntdb::Time&) const':
> ../../include/tntdb/time.h:103: warning: suggest parentheses around && within 
> ||
> ../../include/tntdb/time.h:104: warning: suggest parentheses around && within 
> ||
> ../../include/tntdb/time.h:105: warning: suggest parentheses around && within 
> ||
> In file included from bindutils.cpp:23:
> ../../include/tntdb/datetime.h: In member function 'bool 
> tntdb::Datetime::operator<(const tntdb::Datetime&) const':
> ../../include/tntdb/datetime.h:136: warning: suggest parentheses around && 
> within ||
> ../../include/tntdb/datetime.h:137: warning: suggest parentheses around && 
> within ||
> ../../include/tntdb/datetime.h:138: warning: suggest parentheses around && 
> within ||
> ../../include/tntdb/datetime.h:139: warning: suggest parentheses around && 
> within ||
> ../../include/tntdb/datetime.h:140: warning: suggest parentheses around && 
> within ||
> ../../include/tntdb/datetime.h:141: warning: suggest parentheses around && 
> within ||
> bindutils.cpp: In function 'void tntdb::mysql::reserveKeep(MYSQL_BIND&, long 
> unsigned int)':
> bindutils.cpp:68: error: '::memcpy' has not been declared
> bindutils.cpp: In function 'void tntdb::mysql::setString(MYSQL_BIND&, long 
> unsigned int&, const char*)':
> bindutils.cpp:221: error: '::strlen' has not been declared
> bindutils.cpp:223: error: 'memcpy' was not declared in this scope
> bindutils.cpp: In function 'void tntdb::mysql::setDate(MYSQL_BIND&, const 
> tntdb::Date&)':
> bindutils.cpp:245: error: 'memset' was not declared in this scope
> bindutils.cpp: In function 'void tntdb::mysql::setTime(MYSQL_BIND&, const 
> tntdb::Time&)':
> bindutils.cpp:259: error: 'memset' was not declared in this scope
> bindutils.cpp: In function 'void tntdb::mysql::setDatetime(MYSQL_BIND&, const 
> tntdb::Datetime&)':
> bindutils.cpp:273: error: 'memset' was not declared in this scope
> bindutils.cpp: In function 'bool tntdb::mysql::isNull(const MYSQL_BIND&)':
> bindutils.cpp:290: warning: suggest parentheses around && within ||
> make[2]: *** [bindutils.lo] Error 1
> make[2]: Leaving directory `/build/tbm/tntdb-0.9.2/src/mysql'

-- 
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