Package: cvsnt
Version: 2.5.03.2382-3.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 cvsnt_2.5.03.2382-3.3 on em64t by sbuild/amd64 0.53
...
> mkdir .libs
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../lib 
> -I/usr/include/postgresql -g -O2 -c ../sqlite/SQLiteConnection.cpp -MT 
> SQLiteConnection.lo -MD -MP -MF .deps/SQLiteConnection.TPlo  -fPIC -DPIC -o 
> .libs/SQLiteConnection.o
> In file included from ../sqlite/SQLiteConnection.cpp:33:
> ../sqlite/../cvs_string.h: In function 'void cvs::vsprintf(_Typ&, size_t, 
> const char*, __va_list_tag*)':
> ../sqlite/../cvs_string.h:107: error: '::vsnprintf' has not been declared
> make[4]: *** [SQLiteConnection.lo] Error 1
> make[4]: Leaving directory `/build/tbm/cvsnt-2.5.03.2382/cvsapi/db'
> make[3]: *** [all-recursive] Error 1

--- cvsapi/cvs_string.h~        2008-11-09 07:38:06.000000000 +0000
+++ cvsapi/cvs_string.h 2008-11-09 07:38:31.000000000 +0000
@@ -19,6 +19,7 @@
 #ifndef CVS_STRING__H
 #define CVS_STRING__H
 
+#include <cstdio>
 #include <cstring>
 #include <string>
 #include <stdarg.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