Package: cuyo
Version: 2.~-1.0-1
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

> Automatic build of cuyo_2.~-1.0-1 on em64t by sbuild/amd64 0.53
...
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include/SDL 
> -D_GNU_SOURCE=1 -D_REENTRANT -DPKGDATADIR=\"/usr/share/games/cuyo\" -Wall -W 
> -ansi -pedantic -g -O2 -c -o stringzeug.o stringzeug.cpp
> stringzeug.cpp: In function 'void grossgenug(char*&, size_t&, size_t)':
> stringzeug.cpp:111: error: 'realloc' was not declared in this scope
> stringzeug.cpp: In function 'void schreib_string(char*&, size_t&, size_t&, 
> const char*, size_t)':
> stringzeug.cpp:147: error: 'memcpy' was not declared in this scope
> stringzeug.cpp: In function 'Str _vsprintf(const char*, __va_list_tag*)':
> stringzeug.cpp:154: error: 'malloc' was not declared in this scope
> stringzeug.cpp:186: warning: suggest a space before ';' or explicit braces 
> around empty body in 'for' statement
> stringzeug.cpp:203: error: 'free' was not declared in this scope
> make[1]: *** [stringzeug.o] Error 1
> make[1]: Leaving directory `/build/tbm/cuyo-2.~-1.0/src'
> make: *** [build-arch-stamp] Error 2

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