Package: libvmime
Version: 0.8.1-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 libvmime_0.8.1-3 on em64t by sbuild/amd64 0.53
...
> platforms_posix_posixFile.cpp:302: warning: type qualifiers ignored on 
> function return type
> platforms_posix_posixFile.cpp: In member function 'virtual void 
> vmime::platforms::posix::posixFile::rename(const vmime::utility::path&)':
> platforms_posix_posixFile.cpp:322: error: '::rename' has not been declared
> platforms_posix_posixFile.cpp: At global scope:
> platforms_posix_posixFile.cpp:450: warning: type qualifiers ignored on 
> function return type
> platforms_posix_posixFile.cpp:456: warning: type qualifiers ignored on 
> function return type
> make[3]: *** [platforms_posix_posixFile.lo] Error 1
> make[3]: Leaving directory `/build/tbm/libvmime-0.8.1/src'

--- src/platforms_posix_posixFile.cpp~  2008-11-08 05:47:58.000000000 +0000
+++ src/platforms_posix_posixFile.cpp   2008-11-08 05:48:16.000000000 +0000
@@ -28,6 +28,7 @@
 
 #include <dirent.h>
 
+#include <stdio.h>
 #include <string.h>
 
 #include "vmime/exception.hpp"

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to