Package: msrp
Version: 0.9.2-2
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 msrp_0.9.2-2 on em64t by sbuild/amd64 0.53
...
> g++ -DPACKAGE_NAME=\"msrp\" -DPACKAGE_TARNAME=\"msrp\" 
> -DPACKAGE_VERSION=\"0.9.2\" -DPACKAGE_STRING=\"msrp\ 0.9.2\" 
> -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"msrp\" 
> -DVERSION=\"0.9.2\" -I.     -g -O2 -MT cliopt.o -MD -MP -MF .deps/cliopt.Tpo 
> -c -o cliopt.o cliopt.cc
> cliopt.cc: In member function 'virtual int PlainRename::rename(const char*, 
> const char*)':
> cliopt.cc:68: error: '::rename' has not been declared
> make[2]: *** [cliopt.o] Error 1
> make[2]: Leaving directory `/build/tbm/msrp-0.9.2/src'

--- src/cliopt.cc~      2008-11-08 05:37:57.000000000 +0000
+++ src/cliopt.cc       2008-11-08 05:38:20.000000000 +0000
@@ -1,6 +1,7 @@
 #include <string.h>
 #include <sys/types.h>
 #include <unistd.h>
+#include <cstdio>
 #include <iostream>
 #include <sys/wait.h>
 #include <cstdlib>

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