Package: exempi
Version: 2.0.2-1
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 exempi_2.0.2-1 on em64t by sbuild/amd64 0.53
...
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"exempi\"
> -DVERSION=\"2.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
> -DCHECKED_ENDIANNESS=1 -DICONV_CONST= -DTLS=__thread -DHAVE_NATIVE_TLS=1 -I.
> -I../../public/include -I../../public/include/client-glue -I../../build/
> -I./FormatSupport -I./../common/ -I../../third-party/MD5 -Wall -DUNIX_ENV=1
> -DXMP_IMPL=1 -DXMP_ClientBuild=0 -D_FILE_OFFSET_BITS=64
> -DHAVE_EXPAT_CONFIG_H=1 -DXML_STATIC=1 -DDISABLE_QUICKTIME -Wno-multichar
> -Wno-implicit -Wno-ctor-dtor-privacy -funsigned-char -fexceptions
> -fno-strict-aliasing -g -O2 -g -Wall -O2 -c XMPFiles_Impl.cpp -fPIC -DPIC -o
> .libs/XMPFiles_Impl.o
> In file included from XMPFiles_Impl.cpp:10:
> XMPFiles_Impl.hpp: In function 'void MoveToOffset(LFA_FileRef, XMP_Int64,
> IOBuffer*)':
> XMPFiles_Impl.hpp:491: warning: comparison between signed and unsigned
> integer expressions
> XMPFiles_Impl.cpp: In function 'void LFA_Rename(const char*, const char*)':
> XMPFiles_Impl.cpp:685: error: 'rename' was not declared in this scope
> XMPFiles_Impl.cpp: In function 'bool CreateNewFile(const char*, const char*,
> size_t, bool)':
> XMPFiles_Impl.cpp:827: error: 'fopen' was not declared in this scope
> XMPFiles_Impl.cpp:829: error: 'fclose' was not declared in this scope
> XMPFiles_Impl.hpp: At global scope:
> XMPFiles_Impl.hpp:122: warning: 'kUTF8_PacketStart' defined but not used
> XMPFiles_Impl.hpp:123: warning: 'kUTF8_PacketID' defined but not used
> XMPFiles_Impl.hpp:126: warning: 'kUTF8_PacketTrailer' defined but not used
> XMPFiles_Impl.cpp:635: warning: 'check_off_t_size' defined but not used
> make[4]: *** [XMPFiles_Impl.lo] Error 1
> make[4]: Leaving directory `/build/tbm/exempi-2.0.2/source/XMPFiles'
--- source/XMPFiles/XMPFiles_Impl.cpp~ 2008-11-08 05:59:13.000000000 +0000
+++ source/XMPFiles/XMPFiles_Impl.cpp 2008-11-08 06:00:13.000000000 +0000
@@ -9,6 +9,7 @@
#include "XMPFiles_Impl.hpp"
+#include <stdio.h>
#if XMP_MacBuild
#include <Files.h>
#elif XMP_WinBuild
--- samples/source/XMPFilesCoverage.cpp~ 2008-11-08 06:01:38.000000000
+0000
+++ samples/source/XMPFilesCoverage.cpp 2008-11-08 06:01:48.000000000 +0000
@@ -3,6 +3,7 @@
#include <stdexcept>
#include <errno.h>
#include <time.h>
+#include <cstdio>
#include <cstring>
#define TXMP_STRING_TYPE std::string
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]