[cairo-bugs] [Bug 25485] New: cairo-ft-font.c:1091: error: ‘subpixel’ undeclared

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 7 05:47:19 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25485

           Summary: cairo-ft-font.c:1091: error: ‘subpixel’ undeclared
           Product: cairo
           Version: 1.9.5
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: freetype font backend
        AssignedTo: david at freetype.org
        ReportedBy: daniel at admin-box.com
         QAContact: cairo-bugs at cairographics.org


Created an attachment (id=31811)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=31811)
compile log

When compiling cairo from git I get:

  CC    cairo-ft-font.o
cairo-ft-font.c: In function ‘_get_bitmap_surface’:
cairo-ft-font.c:1091: error: ‘subpixel’ undeclared (first use in this
function)
cairo-ft-font.c:1091: error: (Each undeclared identifier is reported only once
cairo-ft-font.c:1091: error: for each function it appears in.)

I'm using gcc (Gentoo 4.4.2 p1.0) 4.4.2 on gentoo, amd64 with the x11-overlay
(which pulls everything from git):
[ebuild     U ] x11-libs/cairo-9999 [1.8.8] USE="X cleartype glitz opengl svg
xcb -debug -directfb -doc"
Which translates into updating from 1.8.8 to "9999" (git) and the "USE"-flags
translate into the following configure call:

./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
--libdir=/usr/lib64 --enable-xlib --disable-gtk-doc --disable-directfb
--enable-xcb --enable-svg --enable-glitz --enable-xlib-xrender
--disable-test-surfaces --enable-pdf --enable-png --enable-ft --enable-ps

I think it's just a variable not being declared in _get_bitmap_surface() (or in
an enclosing block).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list