Your message dated Sat, 12 Sep 2009 08:52:00 +0200
with message-id <[email protected]>
and subject line Re: Bug#526183: FTBFS with GCC 4.4: missing #include
has caused the Debian Bug report #526183,
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.)
--
526183: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526183
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hugin
Version: 0.7.0-2
User: [email protected]
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 hugin_0.7.0-2 on em64t by sbuild/amd64 0.53
...
> [ 35%] Building CXX object
> src/hugin_base/CMakeFiles/huginbase.dir/appbase/ProgressDisplay.o
> [ 35%] Building CXX object
> src/hugin_base/CMakeFiles/huginbase.dir/appbase/ProgressDisplayOld.o
> /build/tbm/hugin-0.7.0/src/hugin_base/appbase/ProgressDisplayOld.cpp: In
> member function 'virtual void
> AppBase::StreamMultiProgressDisplay::updateProgressDisplay()':
> /build/tbm/hugin-0.7.0/src/hugin_base/appbase/ProgressDisplayOld.cpp:214:
> error: 'snprintf' was not declared in this scope
> /build/tbm/hugin-0.7.0/src/hugin_base/appbase/ProgressDisplayOld.cpp:220:
> error: 'snprintf' was not declared in this scope
> /build/tbm/hugin-0.7.0/src/hugin_base/appbase/ProgressDisplayOld.cpp:224:
> error: 'snprintf' was not declared in this scope
> make[3]: ***
> [src/hugin_base/CMakeFiles/huginbase.dir/appbase/ProgressDisplayOld.o] Error 1
> make[3]: Leaving directory `/build/tbm/hugin-0.7.0/build-dir'
--- src/hugin_base/appbase/ProgressDisplayOld.cpp~ 2009-04-29
17:31:55.000000000 +0000
+++ src/hugin_base/appbase/ProgressDisplayOld.cpp 2009-04-29
17:32:03.000000000 +0000
@@ -27,6 +27,8 @@
#define snprintf _snprintf
#endif
+#include <cstdio>
+
namespace AppBase {
--- src/hugin_base/panodata/PTScriptParsing.cpp~ 2009-04-29
17:48:15.000000000 +0000
+++ src/hugin_base/panodata/PTScriptParsing.cpp 2009-04-29 17:48:21.000000000
+0000
@@ -26,6 +26,8 @@
#include <hugin_utils/utils.h>
+#include <cstdio>
+
namespace HuginBase {
namespace PTScriptParsing {
--- src/hugin_base/hugin_utils/utils.cpp~ 2009-04-29 17:34:03.000000000
+0000
+++ src/hugin_base/hugin_utils/utils.cpp 2009-04-29 17:34:13.000000000
+0000
@@ -30,7 +30,7 @@
#include <sys/time.h>
#endif
#include <time.h>
-#include <stdio.h>
+#include <cstdio>
namespace hugin_utils {
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
Version: 0.8.0.dfsg-1
On 2009-04-29 Martin Michlmayr <[email protected]> wrote:
> Package: hugin
> Version: 0.7.0-2
> User: [email protected]
> 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.
[...]
Hello,
Hugin 0.8.0 builds correctly with gcc-4.4. I have tested this on
current sid using gcc-4.4 and g++.4.4 (version 4.4.1-3 ) by running
env CC=gcc-4.4 CXX=g++-4.4 dpkg-buildpackage -uc -us -rfakeroot
closing.
cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
--- End Message ---