lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling CVS 2.7.16 with g++ 3.3.4


From: Han-Wen Nienhuys
Subject: Re: Compiling CVS 2.7.16 with g++ 3.3.4
Date: Wed, 09 Nov 2005 10:36:58 +0100
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

Andreas Scherer wrote:
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.

I don't understand this patch. Why doesn't str need a cast? What's the difference between reinterpret_cast<const shar*> and (const char*)


        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);
      }
  }


--
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]