Package: silgraphite2.0
Version: 190svn-1
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


> Automatic build of silgraphite2.0_190svn-1 on bigsur by sbuild/mips 1.106
...
>  g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../src/generic -I../src/font 
> -I../src/segment -I/usr/include/freetype2 -O2 -DNDEBUG -MT Font.lo -MD -MP 
> -MF .deps/Font.Tpo -c ../src/font/Font.cpp  -fPIC -DPIC -o .libs/Font.o
> ../include/GrFeature.h:176: error: extra qualification 'gr::GrLangTable::' on 
> member 'FindIndex'
> ../include/Font.h:328: error: extra qualification 'gr::Font::' on member 
> 'LanguageCode'
> make[3]: *** [Font.lo] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/
--- ./silgraphite-2.1.0/include/Font.h~ 2006-03-19 04:23:58.000000000 +0000
+++ ./silgraphite-2.1.0/include/Font.h  2006-03-19 04:24:03.000000000 +0000
@@ -325,7 +325,7 @@
        LanguageIterator EndLanguage();

 

        size_t NumberOfLanguages();

-       isocode Font::LanguageCode(size_t ilang);

+       isocode LanguageCode(size_t ilang);

 

        void UniqueCacheInfo(std::wstring & stuFace, bool & fBold, bool & 
fItalic);

        static bool FontHasGraphiteTables(Font & font);
--- ./silgraphite-2.1.0/include/GrFeature.h~    2006-03-19 04:24:13.000000000 
+0000
+++ ./silgraphite-2.1.0/include/GrFeature.h     2006-03-19 04:24:18.000000000 
+0000
@@ -173,7 +173,7 @@
        };

        FeatSet * m_prgfset;

 

-       int GrLangTable::FindIndex(isocode lgcode);

+       int FindIndex(isocode lgcode);

 };

 

 } // namespace gr

Reply via email to