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

[FreeType] weird build failure on mipsel



Hi guys!
Could one of you please look at this and figure out what's happening?

mipsel is failing on FreeType (xc/lib/font/FreeType), specifically:
gcc -c -g -O2 -g -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes                        -Wmissing-prototypes -Wmissing-declarations                     -Wredundant-decls -Wnested-externs -Wundef  -I. -I../../../include/fonts -I../include -I../../../exports/include/X11            -I../../../programs/Xserver/include -I/usr/include/freetype2 -I/usr/include/freetype2/include -I../../../exports/include  -I../../.. -I../../../exports/include   -Dlinux -D__mips__ -D_POSIX_C_SOURCE=199309L                                -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                             -D_GNU_SOURCE                            -DFUNCPROTO=15 -DNARROWPROTO   -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH                          -DXFreeXDGA -DXvExtension                                -DXFree86Server                                -DXF86VIDMODE                           -DXvMCExtension                                                                 -DSMART_SCHEDULE                                -DBUILDDEBUG -DXResExtension                            -DX_BYTE_ORDER=X_LITTLE_ENDIAN   ftfuncs.c
In file included from ftfuncs.c:48:
ft.h:73: warning: redundant redeclaration of `FreeTypeRegisterFontFileFunctions' in same scope
../../../include/fonts/fontproto.h:91: warning: previous declaration of `FreeTypeRegisterFontFileFunctions'
ftfuncs.c: In function `FreeTypeAddProperties':
ftfuncs.c:966: error: pointer value used where a floating point value was expected
ftfuncs.c:968: error: pointer value used where a floating point value was expected

I've just had a quick look at it, and here are the offending lines:
                TRANSFORM_FUNITS_Y(t1info->underline_position);
                TRANSFORM_FUNITS_Y(t1info->underline_thickness);

I don't really have time to chase this down right at the moment, due to
exams, but if no-one figures out in the next few days, I'll have a bash
when they're finished.

Cheers!
:) d

-- 
Daniel Stone                                     <dstone@trinity.unimelb.edu.au>
Developer, Trinity College, University of Melbourne

Attachment: pgpznPB9fP9i8.pgp
Description: PGP signature


Reply to: