Package: kgb
Version: 1.0b4-4
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 kgb_1.0b4-4 on em64t by sbuild/amd64 0.53
...
> dh_testdir
> g++ -Wall -fno-strict-aliasing -O3 -gstabs -o kgb kgb_arch_posix_by_slawek.cpp
> kgb_arch_posix_by_slawek.cpp: In constructor 'Ch::Ch()':
> kgb_arch_posix_by_slawek.cpp:998: error: 'memset' was not declared in this 
> scope
> kgb_arch_posix_by_slawek.cpp: In member function 'void Ch::init()':
> kgb_arch_posix_by_slawek.cpp:1001: warning: suggest parentheses around + or - 
> inside shift
> kgb_arch_posix_by_slawek.cpp: In member function 'void Mixer::update(int)':
> kgb_arch_posix_by_slawek.cpp:1202: warning: suggest parentheses around + or - 
> inside shift
> kgb_arch_posix_by_slawek.cpp:1203: warning: suggest parentheses around + or - 
> inside shift
> kgb_arch_posix_by_slawek.cpp: In member function 'void 
> CounterMap1::update(U32)':
> kgb_arch_posix_by_slawek.cpp:1327: warning: suggest parentheses around + or - 
> inside shift
> kgb_arch_posix_by_slawek.cpp: In member function 'void CounterMap1::add()':
> kgb_arch_posix_by_slawek.cpp:1330: warning: suggest parentheses around + or - 
> inside shift
> kgb_arch_posix_by_slawek.cpp:1331: warning: suggest parentheses around + or - 
> inside shift
> kgb_arch_posix_by_slawek.cpp: In constructor 'CharModel::CharModel()':
> kgb_arch_posix_by_slawek.cpp:1457: error: 'memset' was not declared in this 
> scope
> kgb_arch_posix_by_slawek.cpp: In constructor 'MatchModel::MatchModel()':
> kgb_arch_posix_by_slawek.cpp:1528: error: 'memset' was not declared in this 
> scope
> kgb_arch_posix_by_slawek.cpp: In function 'int main(int, char**)':
> kgb_arch_posix_by_slawek.cpp:2339: error: 'strlen' was not declared in this 
> scope
> kgb_arch_posix_by_slawek.cpp: In member function 'void Hashtable<T>::set(U32) 
> [with T = Counter]':
> kgb_arch_posix_by_slawek.cpp:1370:   instantiated from here
> kgb_arch_posix_by_slawek.cpp:1092: error: 'memmove' was not declared in this 
> scope
> kgb_arch_posix_by_slawek.cpp:1094: error: 'memmove' was not declared in this 
> scope
> kgb_arch_posix_by_slawek.cpp:1095: error: 'memset' was not declared in this 
> scope
> kgb_arch_posix_by_slawek.cpp:1102: error: 'memmove' was not declared in this 
> scope
> make: *** [build-stamp] Error 1
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2

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