HEAD compile failure - programs/x11perf/do_traps.c
Daniel Stone <[email protected]> Fri, 3 Jan 2003 11:44:58 +1100
| Newsgroups | gmane.comp.xfree86.expert |
|---|---|
| Message-ID | <[email protected]> |
--BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all! do_traps.c from HEAD fails, ostensibly because XTrapezoid is undefined: -- gcc -g -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmiss= ing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -W= undef -I/usr/include -I/usr/include/freetype2 -I../.. -I../../exports/in= clude -Dlinux -D__i386__ -D_POSIX_C_SOURCE=3D199309L -D_POSIX_SOURCE -D_X= OPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=3D15 = -DNARROWPROTO -DMITSHM -DXFT -DXRENDER -c -o do_traps.o do_traps.c do_traps.c:113: parse error before `*' do_traps.c:113: warning: type defaults to `int' in declaration of `traps' do_traps.c:113: ANSI C forbids data definition with no type or storage class do_traps.c: In function `InitFixedTrapezoids': do_traps.c:125: `XTrapezoid' undeclared (first use in this function) do_traps.c:125: (Each undeclared identifier is reported only once do_traps.c:125: for each function it appears in.) do_traps.c:125: `curTrap' undeclared (first use in this function) do_traps.c:125: warning: statement with no effect do_traps.c:126: parse error before `color' do_traps.c:132: parse error before `)' do_traps.c:158: `color' undeclared (first use in this function) do_traps.c:186: warning: implicit declaration of function `XDoubleToFixed' do_traps.c:185: warning: value computed is not used do_traps.c: In function `DoFixedTrapezoids': do_traps.c:222: `XTrapezoid' undeclared (first use in this function) do_traps.c:222: `curTrap' undeclared (first use in this function) do_traps.c:222: warning: statement with no effect do_traps.c:223: parse error before `white' do_traps.c:225: `white' undeclared (first use in this function) do_traps.c:225: warning: implicit declaration of function `XftDrawSrcPictur= e' do_traps.c:226: `black' undeclared (first use in this function) do_traps.c:227: `dst' undeclared (first use in this function) do_traps.c:227: warning: implicit declaration of function `XftDrawPicture' do_traps.c:229: `src' undeclared (first use in this function) do_traps.c:232: warning: implicit declaration of function `XRenderComposite= Trapezoids' make[5]: *** [do_traps.o] Error 1 -- This is with an untouched do_traps.c, and x11perf in general. The lines above it include <X11/extensions/Xrender.h>, which is where XTrapezoid is defined ... any ideas? Thanks! :) d (BTW: Previous failure was due to PIC funniness). --=20 Daniel Stone <[email protected]= u.au> Developer, Trinity College, University of Melbourne --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+FN0KcPClnTztfv0RAk4XAKCDmOMMWcZvDknOepyzLC6mUwUfXQCfSh80 eunupjaba5iuPmfhaU2v3Fc= =EAuy -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl--