Package: ktechlab
Version: 0.3.6-4
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with GCC 4.4, which has 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 or
gcc-4.4 from experimental.

> Automatic build of ktechlab_0.3.6-4 on em64t by sbuild/amd64 0.53
...
> make[5]: Entering directory 
> `/build/tbm/ktechlab-0.3.6/src/electronics/simulation'
> if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ 
> -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I../../../src/electronics 
> -I/usr/include/kde -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  
> -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
> -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -g -O2 
> -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor 
> -fno-exceptions -fno-check-new -fno-common -fexceptions  -MT cccs.lo -MD -MP 
> -MF ".deps/cccs.Tpo" -c -o cccs.lo cccs.cpp; \
>       then mv -f ".deps/cccs.Tpo" ".deps/cccs.Plo"; else rm -f 
> ".deps/cccs.Tpo"; exit 1; fi
> In file included from cccs.h:14,
>                  from cccs.cpp:13:
> element.h:29: error: ISO C++ forbids declaration of 'uint32_t' with no type
> element.h:29: error: expected ',' or '...' before 'n'
> element.h: In constructor 'CNode::CNode(int)':
> element.h:29: error: argument of type 'uint (CNode::)()const' does not match 
> 'uint'
> element.h: At global scope:
> element.h:29: warning: unused parameter 'uint32_t'
> element.h:49: error: ISO C++ forbids declaration of 'uint32_t' with no type
> element.h:49: error: expected ',' or '...' before 'n'
> element.h: In constructor 'CBranch::CBranch(int)':
> element.h:49: error: argument of type 'uint (CBranch::)()const' does not 
> match 'uint'
> element.h: At global scope:
> element.h:49: warning: unused parameter 'uint32_t'
> make[5]: *** [cccs.lo] Error 1
> make[5]: Leaving directory 
> `/build/tbm/ktechlab-0.3.6/src/electronics/simulation'

--- src/electronics/simulation/element.h~       2009-04-26 21:29:01.000000000 
+0000
+++ src/electronics/simulation/element.h        2009-04-26 21:29:20.000000000 
+0000
@@ -11,6 +11,7 @@
 #ifndef ELEMENT_H
 #define ELEMENT_H
 
+#include <stdint.h>
 #include "elementset.h"
 #include "matrix.h"
 

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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to