Your message dated Thu, 23 Jul 2009 21:46:45 +0200
with message-id <[email protected]>
and subject line close bug 505361
has caused the Debian Bug report #505361,
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.)
--
505361: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505361
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libwfut
Version: 0.2.0-3
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 libwfut_0.2.0-3 on em64t by sbuild/amd64 0.53
...
> /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
> -I.. -g -O2 -g -Wall -O2 -Wall -DTIXML_USE_STL=1 -I/usr/include/sigc++-2.0
> -I/usr/lib/sigc++-2.0/include -c -o libwfut_0_2_la-Encoder.lo `test -f
> 'Encoder.cpp' || echo './'`Encoder.cpp
> g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -g -Wall -O2 -Wall
> -DTIXML_USE_STL=1 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -c
> Encoder.cpp -fPIC -DPIC -o .libs/libwfut_0_2_la-Encoder.o
> Encoder.cpp: In static member function 'static std::string
> WFUT::Encoder::encodeString(const std::string&)':
> Encoder.cpp:29: error: 'snprintf' was not declared in this scope
> Encoder.cpp: In static member function 'static std::string
> WFUT::Encoder::decodeString(const std::string&)':
> Encoder.cpp:45: error: 'sscanf' was not declared in this scope
> Encoder.cpp: In static member function 'static std::string
> WFUT::Encoder::encodeURL(const std::string&)':
> Encoder.cpp:78: error: 'snprintf' was not declared in this scope
> make[3]: *** [libwfut_0_2_la-Encoder.lo] Error 1
--- libwfut/Encoder.cpp~ 2008-11-11 20:47:41.000000000 +0000
+++ libwfut/Encoder.cpp 2008-11-11 20:47:53.000000000 +0000
@@ -4,6 +4,8 @@
#include "libwfut/Encoder.h"
+#include <cstdio>
+
namespace WFUT {
std::string Encoder::encodeString(const std::string &str) {
--- tools/wfut.cpp~ 2008-11-11 20:49:17.000000000 +0000
+++ tools/wfut.cpp 2008-11-11 20:49:25.000000000 +0000
@@ -12,6 +12,7 @@
#include <sys/stat.h>
#include <sys/types.h>
+#include <cstdio>
#include <algorithm>
#include <sigc++/bind.h>
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
Version: 0.2.1-1
This bug was fixed in 0.2.1-1 and I forgot to close it
in debian/changelog.
Cheers,
Michael
--- End Message ---