Dear group,

in order to compile (i.e., "rpmbuild -ba lilypond.spec") the latest CVS 
contents on my system (SuSE 9.2 with g++ 3.3.4; all required package updates 
are present), I have to applyto file <lily/font-config-scheme.cc>  the small 
patch attached to this mail.

I would be very pleased to see the cast applied directly in the original 
source file, so that a clean build from the CVS sources would be possible 
even with the slightly antique compiler.

Cheers
*** lily/font-config-scheme.cc	2005-11-03 23:57:17.000000000 +0100
--- ../../rpm/BUILD/lilypond/lily/font-config-scheme.cc	2005-11-08 19:01:07.617676920 +0100
*************** display_fontset (FcFontSet *fs)
*** 27,33 ****
  	printf ("family %s\n ", str);
        if (FcPatternGetString (fs->fonts[j], "designsize", 0, &str) == FcResultMatch)
  	printf ("designsize %s\n ", str);
!       printf ("%s\n", font);
        free (font);
      }
  }
--- 27,33 ----
  	printf ("family %s\n ", str);
        if (FcPatternGetString (fs->fonts[j], "designsize", 0, &str) == FcResultMatch)
  	printf ("designsize %s\n ", str);
!       printf ("%s\n", reinterpret_cast< const char* >( font ));
        free (font);
      }
  }

Attachment: pgpNNYLfbN9DC.pgp
Description: PGP signature

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to