Your message dated Mon, 25 May 2009 04:47:28 +0100
with message-id <[email protected]>
and subject line FTBFS GCC 4.4
has caused the Debian Bug report #505362,
regarding FTBFS with GCC 4.4: missing #include
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
505362: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505362
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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/
--- End Message ---
--- Begin Message ---
Version: 1.5.11-1
It appears to build fine under GCC 4.4 (tried using pbuilder with
gcc-4.4 and using Karmic)
--
With best regards
Dmitrijs Ledkovs (for short Dima),
Ледков Дмитрий Юрьевич
--- End Message ---