Package: sword
Version: 1.5.9-8.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 sword_1.5.9-8.1 on em64t by sbuild/amd64 0.53
...
> creating addvs
> g++ -DHAVE_CONFIG_H -I. -I. -I../include -I ../include   -O2 -DCURLAVAILABLE 
> -g -O2 -g -Wall -O2 -c -o emptyvss.o emptyvss.cpp
> emptyvss.cpp: In function 'int main(int, char**)':
> emptyvss.cpp:17: error: 'stderr' was not declared in this scope
> emptyvss.cpp:17: error: 'fprintf' was not declared in this scope
> emptyvss.cpp:25: error: 'stderr' was not declared in this scope
> emptyvss.cpp:25: error: 'fprintf' was not declared in this scope
> emptyvss.cpp:39: error: 'stderr' was not declared in this scope
> emptyvss.cpp:39: error: 'fprintf' was not declared in this scope
> make[3]: *** [emptyvss.o] Error 1
> make[3]: Leaving directory 
> `/build/tbm/sword-1.5.9/build-tree/sword-1.5.9/utilities'
> make[2]: *** [all-recursive] Error 1

--- sword-1.5.9/utilities/emptyvss.cpp~ 2008-11-11 20:58:51.000000000 +0000
+++ sword-1.5.9/utilities/emptyvss.cpp  2008-11-11 20:58:58.000000000 +0000
@@ -1,6 +1,7 @@
 #include <swmgr.h>
 #include <swmodule.h>
 #include <versekey.h>
+#include <cstdio>
 #include <iostream>
 
 #ifndef NO_SWORD_NAMESPACE

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