Package: lilypond
Version: 2.10.33-2.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 lilypond_2.10.33-2.3 on em64t by sbuild/amd64 0.53
...
> rm -f ./out/font-config.dep; DEPENDENCIES_OUTPUT="./out/font-config.dep 
> ./out/font-config.o" g++ -c -g -O2 -Woverloaded-virtual -DHAVE_CONFIG_H  
> -DNDEBUG -I./include -I./out -I../flower/include -I../flower/./out 
> -I../flower/include  -g -O2  -O2 -finline-functions -g -pipe  
> -I/usr/include/freetype2   -I/usr/include/pango-1.0 -I/usr/include/freetype2 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wno-pmf-conversions  
> -W -Wall -Wconversion -o out/font-config.o font-config.cc
> font-config.cc: In function 'void init_fontconfig()':
> font-config.cc:71: error: 'fopen' was not declared in this scope
> font-config.cc:73: error: 'fclose' was not declared in this scope
> make[2]: *** [out/font-config.o] Error 1
> make[2]: Leaving directory `/build/tbm/lilypond-2.10.33/lily'

--- lily/font-config.cc~        2008-11-13 19:06:38.000000000 +0000
+++ lily/font-config.cc 2008-11-13 19:06:43.000000000 +0000
@@ -11,6 +11,7 @@
 #if HAVE_FONTCONFIG
 
 #include <fontconfig/fontconfig.h>
+#include <cstdio>
 #include <sys/stat.h>
 
 #include "file-path.hh"

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