[cairo-bugs] [Bug 13482] New: Build errors due to missing struct members

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 1 11:19:04 PST 2007


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

           Summary: Build errors due to missing struct members
           Product: cairo
           Version: 1.4.12
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: freetype font backend
        AssignedTo: david at freetype.org
        ReportedBy: selsky at columbia.edu
         QAContact: cairo-bugs at cairographics.org


I'm building cairo 1.4.12 with freetype 2.1.4.  Make gives me the following
error:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src
-I/opt/freetype-2.1.4/include -I/opt/freetype-2.1.4/include/freetype2
-I/opt/fontconfig-2.2.99/include -I/opt/libpng-1.2.22/include/libpng12
-DXTHREADS -I/opt/libXrender-0.9.0/include -I/opt/renderext-0.9/include
-I/usr/openwin/include -I/usr/openwin/include -Wall -Wextra -Wsign-compare
-Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute
-Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations
-Wdeclaration-after-statement -Wold-style-definition
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes
-fno-strict-aliasing -g -O2 -MT cairo-ft-font.lo -MD -MP -MF
.deps/cairo-ft-font.Tpo -c cairo-ft-font.c  -fPIC -DPIC -o
.libs/cairo-ft-font.o
cairo-ft-font.c: In function '_cairo_ft_scaled_font_create':
cairo-ft-font.c:1531: error: 'FT_Bitmap_Size' has no member named 'x_ppem'
cairo-ft-font.c:1532: error: 'FT_Bitmap_Size' has no member named 'y_ppem'
cairo-ft-font.c: In function '_decompose_glyph_outline':
cairo-ft-font.c:1829: warning: passing argument 2 of 'FT_Outline_Transform'
discards qualifiers from pointer target type
cairo-ft-font.c: In function '_cairo_ft_load_truetype_table':
cairo-ft-font.c:2129: warning: unused variable 'face'
cairo-ft-font.c:2128: warning: unused variable 'unscaled'
make[2]: *** [cairo-ft-font.lo] Error 1

y_ppem and x_ppem were not added to the FT_Bitmap_Size struct until freetype
2.1.9, but the documentation says that only freetype 2.1.4 is required.


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


More information about the cairo-bugs mailing list