Package: fastdep
Version: 0.16-10
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 fastdep_0.16-10 on em64t by sbuild/amd64 0.53
...
> g++ -g -O2 -O2 -Wall  -g -O2 -c MappedFile.cc -o MappedFile.o
> MappedFile.cc: In member function 'char* MappedFile::map()':
> MappedFile.cc:130: error: 'perror' was not declared in this scope
> make[1]: *** [MappedFile.o] Error 1
> make[1]: Leaving directory `/build/tbm/fastdep-0.16'

--- MappedFile.cc~      2008-11-09 17:56:35.000000000 +0000
+++ MappedFile.cc       2008-11-09 17:56:49.000000000 +0000
@@ -10,6 +10,7 @@
 
 #endif
 
+#include <cstdio>
 #include <memory>
 
 #include "MappedFile.h"

-- 
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