Package: chuck
Version: 1.2.0.8.dfsg-1.1
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 chuck_1.2.0.8.dfsg-1.1 on em64t by sbuild/amd64 0.53
...
> g++ -D__LINUX_ALSA__ -c -Wall -g -O2 -D__CK_SNDFILE_NATIVE__ util_console.cpp
> g++ -D__LINUX_ALSA__ -c -Wall -g -O2 -D__CK_SNDFILE_NATIVE__ util_string.cpp
> util_string.cpp: In function 'std::string itoa(long int)':
> util_string.cpp:46: error: 'sprintf' was not declared in this scope
> util_string.cpp: In function 'std::string ftoa(double, long unsigned int)':
> util_string.cpp:61: error: 'sprintf' was not declared in this scope
> util_string.cpp: In function 'long unsigned int extract_args(const 
> std::string&, std::string&, std::vector<std::basic_string<char, 
> std::char_traits<char>, std::allocator<char> >, 
> std::allocator<std::basic_string<char, std::char_traits<char>, 
> std::allocator<char> > > >&)':
> util_string.cpp:228: warning: comparison between signed and unsigned integer 
> expressions
> util_string.cpp:243: warning: comparison between signed and unsigned integer 
> expressions
> util_string.cpp:249: warning: comparison between signed and unsigned integer 
> expressions
> util_string.cpp:267: warning: comparison between signed and unsigned integer 
> expressions
> util_string.cpp:291: warning: comparison between signed and unsigned integer 
> expressions
> make[2]: *** [util_string.o] Error 1
> make[2]: Leaving directory `/build/tbm/chuck-1.2.0.8.dfsg/src'

--- src/util_string.h~  2008-11-08 07:41:57.000000000 +0000
+++ src/util_string.h   2008-11-08 07:42:11.000000000 +0000
@@ -34,6 +34,7 @@
 #define __UTIL_STRING_H__
 
 #include "chuck_def.h"
+#include <cstdio>
 #include <string>
 #include <vector>
 

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