Package: perceptualdiff
Version: 1.0.1-1.2
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 perceptualdiff_1.0.1-1.2 on em64t by sbuild/amd64 0.53
...
> [ 80%] Building CXX object CMakeFiles/perceptualdiff.dir/CompareArgs.o
> [100%] Building CXX object CMakeFiles/perceptualdiff.dir/Metric.o
> /build/tbm/perceptualdiff-1.0.1/Metric.cpp: In function 'bool
> Yee_Compare(CompareArgs&)':
> /build/tbm/perceptualdiff-1.0.1/Metric.cpp:162: error: 'printf' was not
> declared in this scope
> /build/tbm/perceptualdiff-1.0.1/Metric.cpp:186: error: 'printf' was not
> declared in this scope
> /build/tbm/perceptualdiff-1.0.1/Metric.cpp:194: error: 'printf' was not
> declared in this scope
> /build/tbm/perceptualdiff-1.0.1/Metric.cpp:299: error: 'sprintf' was not
> declared in this scope
> make[3]: *** [CMakeFiles/perceptualdiff.dir/Metric.o] Error 1
> make[3]: Leaving directory `/build/tbm/perceptualdiff-1.0.1'
> make[2]: *** [CMakeFiles/perceptualdiff.dir/all] Error 2
--- Metric.cpp~ 2008-11-08 17:02:55.000000000 +0000
+++ Metric.cpp 2008-11-08 17:03:02.000000000 +0000
@@ -19,6 +19,7 @@
#include "RGBAImage.h"
#include "LPyramid.h"
#include <math.h>
+#include <cstdio>
#ifndef M_PI
#define M_PI 3.14159265f
@@ -313,4 +314,4 @@
}
}
return false;
-}
\ No newline at end of file
+}
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]