Package: libvmime Version: 0.8.0+cvs20061009-1 Usertags: ftbfs-gcc-4.3 Tags: patch
Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). Some background of this can be found at http://gcc.gnu.org/PR28080 You can reproduce this problem with gcc-snapshot (20070326-1 or higher) from unstable. (Currently not available for i386, but for amd64, powerpc and ia64. I hope to have i386 binaries in the archive in the near future.) > Automatic build of libvmime_0.8.0+cvs20061009-1 on coconut0 by sbuild/ia64 > 0.49 ... > ../vmime/utility/filteredStream.hpp: In member function 'const size_t > vmime::utility::stopSequenceFilteredInputStream<COUNT>::read(char*, size_t)': > ../vmime/utility/filteredStream.hpp:250: error: no matching function for call > to 'find(char*&, char*&, const char&)' > charset.cpp: In member function 'virtual void vmime::charset::parse(const > vmime::string&, size_t, size_t, size_t*)': > charset.cpp:60: warning: conversion to 'ptrdiff_t' from 'const size_t' may > alter its value > charset.cpp:60: warning: conversion to 'ptrdiff_t' from 'const size_t' may > alter its value > charset.cpp: At global scope: > charset.cpp:107: warning: type qualifiers ignored on function return type > charset.cpp:113: warning: type qualifiers ignored on function return type > make[3]: *** [charset.lo] Error 1 --- src/net_imap_IMAPMessage.cpp~ 2007-04-26 15:17:24.000000000 +0000 +++ src/net_imap_IMAPMessage.cpp 2007-04-26 15:17:44.000000000 +0000 @@ -26,6 +26,7 @@ #include <sstream> #include <iterator> +#include <typeinfo> namespace vmime { --- src/security_sasl_SASLMechanismFactory.cpp~ 2007-04-26 15:21:54.000000000 +0000 +++ src/security_sasl_SASLMechanismFactory.cpp 2007-04-26 15:22:00.000000000 +0000 @@ -21,6 +21,7 @@ // the GNU General Public License cover the whole combination. // +#include <cstdlib> #include <stdexcept> #include <new> --- src/security_sasl_builtinSASLMechanism.cpp~ 2007-04-26 15:23:17.000000000 +0000 +++ src/security_sasl_builtinSASLMechanism.cpp 2007-04-26 15:23:24.000000000 +0000 @@ -30,6 +30,7 @@ #include "vmime/exception.hpp" +#include <cstdlib> #include <stdexcept> #include <new> --- vmime/utility/filteredStream.hpp~ 2007-04-26 15:01:52.000000000 +0000 +++ vmime/utility/filteredStream.hpp 2007-04-26 15:05:49.000000000 +0000 @@ -26,6 +26,7 @@ #include "vmime/utility/stream.hpp" +#include <algorithm> namespace vmime { -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]