Package: photoprint
Version: 0.3.8b-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 photoprint_0.3.8b-2 on em64t by sbuild/amd64 0.53
...
> g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I../imagesource/ -I../
> -I../pixbufthumbnail -I../imagesource -I../profilemanager -D_REENTRANT
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb
> -I/usr/include/libpng12 -I/usr/include/pixman-1 -g -O2 -MT signature.lo -MD
> -MP -MF .deps/signature.Tpo -c signature.cpp -fPIC -DPIC -o .libs/signature.o
> In file included from signature.cpp:12:
> layoutrectangle.h: In member function 'void RectFit::Dump()':
> layoutrectangle.h:23: error: 'printf' was not declared in this scope
> layoutrectangle.h: In member function 'void LayoutRectangle::Dump()':
> layoutrectangle.h:45: error: 'printf' was not declared in this scope
> make[3]: *** [signature.lo] Error 1
> make[3]: Leaving directory `/build/tbm/photoprint-0.3.8b/support'
--- support/layoutrectangle.h~ 2008-11-11 20:17:26.000000000 +0000
+++ support/layoutrectangle.h 2008-11-11 20:17:32.000000000 +0000
@@ -1,6 +1,8 @@
#ifndef LAYOUTRECTANGLE_H
#define LAYOUTRECTANGLE_H
+#include <cstdio>
+
enum PP_ROTATION
{
PP_ROTATION_AUTO,
--- support/pathsupport.cpp~ 2008-11-11 20:17:58.000000000 +0000
+++ support/pathsupport.cpp 2008-11-11 20:18:06.000000000 +0000
@@ -1,3 +1,4 @@
+#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <string.h>
--- support/searchpath.cpp~ 2008-11-11 20:18:53.000000000 +0000
+++ support/searchpath.cpp 2008-11-11 20:18:57.000000000 +0000
@@ -1,3 +1,4 @@
+#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]