Package: ksudoku
Version: 0.4-1
Usertags: ftbfs-gcc-4.3
Tags: patch

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).  Some background of this can be found at
http://gcc.gnu.org/PR28080

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

> Automatic build of ksudoku_0.4-1 on coconut0 by sbuild/ia64 0.49
...
> make[3]: Entering directory `/build/tbm/ksudoku-0.4'
> [  1%] Building CXX object src/logic/CMakeFiles/ksudoku_logic.dir/skgraph.o
> In file included from /build/tbm/ksudoku-0.4/src/logic/skgraph.cpp:25:
> /build/tbm/ksudoku-0.4/src/logic/skgraph.h:131: error: 'uint' does not name a 
> type
> /build/tbm/ksudoku-0.4/src/logic/skgraph.h:135: error: 'uint' does not name a 
> type
> /build/tbm/ksudoku-0.4/src/logic/skgraph.h:144: error: 'uint' does not name a 
> type
> /build/tbm/ksudoku-0.4/src/logic/skgraph.h:151: error: 'uint' does not name a 
> type

--- src/logic/skgraph.h~        2007-04-02 09:46:11.000000000 +0000
+++ src/logic/skgraph.h 2007-04-02 09:46:18.000000000 +0000
@@ -25,6 +25,7 @@
 #ifndef SKGRAPH_H
 #define SKGRAPH_H
 
+#include <cstdlib>
 #include <vector>
 #include "skbase.h"
 

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