Package: wpg2odg Version: 0.1.0-3 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 wpg2odg_0.1.0-3 on em64t by sbuild/amd64 0.53 ... > if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. > -I/usr/include/libwpg-0.1 -I/usr/include/libwpd-0.8 -DNDEBUG -I../filter > -g -O2 -MT StdOutputHandler.o -MD -MP -MF ".deps/StdOutputHandler.Tpo" -c -o > StdOutputHandler.o StdOutputHandler.cxx; \ > then mv -f ".deps/StdOutputHandler.Tpo" ".deps/StdOutputHandler.Po"; > else rm -f ".deps/StdOutputHandler.Tpo"; exit 1; fi > StdOutputHandler.cxx: In member function 'virtual void > StdOutputHandler::startElement(const char*, const > std::vector<std::pair<std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::basic_string<char, std::char_traits<char>, > std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, > std::char_traits<char>, std::allocator<char> >, std::basic_string<char, > std::char_traits<char>, std::allocator<char> > > > >&)': > StdOutputHandler.cxx:41: error: 'printf' was not declared in this scope > StdOutputHandler.cxx:44: error: 'printf' was not declared in this scope > StdOutputHandler.cxx: In member function 'virtual void > StdOutputHandler::endElement(const char*)': > StdOutputHandler.cxx:59: error: 'printf' was not declared in this scope > StdOutputHandler.cxx:64: error: 'printf' was not declared in this scope > StdOutputHandler.cxx:71: error: 'printf' was not declared in this scope > StdOutputHandler.cxx: In member function 'virtual void > StdOutputHandler::characters(const std::string&)': > StdOutputHandler.cxx:80: error: 'printf' was not declared in this scope > StdOutputHandler.cxx:83: error: 'printf' was not declared in this scope > StdOutputHandler.cxx: In member function 'virtual void > StdOutputHandler::endDocument()': > StdOutputHandler.cxx:90: error: 'printf' was not declared in this scope > make[3]: *** [StdOutputHandler.o] Error 1 > make[3]: Leaving directory `/build/tbm/wpg2odg-0.1.0/cmdline' > make[2]: *** [all-recursive] Error 1 --- cmdline/StdOutputHandler.cxx~ 2008-11-08 17:05:05.000000000 +0000 +++ cmdline/StdOutputHandler.cxx 2008-11-08 17:05:11.000000000 +0000 @@ -24,6 +24,7 @@ */ #include "StdOutputHandler.hxx" +#include <cstdio> StdOutputHandler::StdOutputHandler() : mbIsTagOpened(false) -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]