Package: gloox Version: 0.9.9.5-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 gloox_0.9.9.5-1 on em64t by sbuild/amd64 0.53 ... > x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -pipe -W > -Wfloat-equal -Wcast-align -Wsign-compare -Wpointer-arith -Wswitch > -Wunknown-pragmas -Wconversion -Wundef -Wcast-qual -ansi -pthread -g -O2 -MT > md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.cpp -fPIC -DPIC -o .libs/md5.o > md5.cpp: In member function 'void gloox::MD5::feed(const std::string&)': > md5.cpp:370: warning: conversion to 'int' from 'size_t' may alter its value > md5.cpp: In member function 'const std::string gloox::MD5::hex()': > md5.cpp:440: error: 'sprintf' was not declared in this scope > make[4]: *** [md5.lo] Error 1 --- src/md5.cpp~ 2008-11-11 19:45:55.000000000 +0000 +++ src/md5.cpp 2008-11-11 19:46:05.000000000 +0000 @@ -71,6 +71,7 @@ #include "md5.h" +#include <cstdio> #include <string.h> namespace gloox --- src/sha.cpp~ 2008-11-11 19:46:13.000000000 +0000 +++ src/sha.cpp 2008-11-11 19:46:18.000000000 +0000 @@ -12,6 +12,8 @@ #include "sha.h" +#include <cstdio> + namespace gloox { -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]