Package: gdcm
Version: 2.0.10-1
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-4.4/g++-4.4 from unstable.
> Automatic build of gdcm_2.0.10-1 on em64t by sbuild/amd64 0.53
...
> [ 1%] Building CXX object
> Source/Common/CMakeFiles/gdcmCommon.dir/gdcmString.o
> In file included from /build/tbm/gdcm-2.0.10/Source/Common/gdcmString.cxx:15:
> /build/tbm/gdcm-2.0.10/Source/Common/gdcmString.h:31: error: 'EOF' was not
> declared in this scope
> make[3]: *** [Source/Common/CMakeFiles/gdcmCommon.dir/gdcmString.o] Error 1
> make[3]: Leaving directory `/build/tbm/gdcm-2.0.10/debian/build-python2.5'
> make[2]: *** [Source/Common/CMakeFiles/gdcmCommon.dir/all] Error 2
--- Source/Common/gdcmString.h~ 2009-05-18 10:53:21.000000000 +0000
+++ Source/Common/gdcmString.h 2009-05-18 10:54:19.000000000 +0000
@@ -18,6 +18,8 @@
#include "gdcmTypes.h"
#include "gdcmStaticAssert.h"
+#include <cstdio>
+
namespace gdcm
{
template <char TDelimiter, unsigned int TMaxLength, char TPadChar> class
String;
--- Source/Common/zipstreamimpl.h~ 2009-05-18 11:24:41.000000000 +0000
+++ Source/Common/zipstreamimpl.h 2009-05-18 11:24:47.000000000 +0000
@@ -52,6 +52,7 @@
#ifndef _ZIPSTREAM_H_
#define _ZIPSTREAM_H_
+#include <cstdio>
#include <vector>
#include <string>
#include <streambuf>
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]