breakage in xc, print.c
Jeroen Ruigrok/asmodai
asmodai at wxs.nl
Mon May 9 12:14:17 PDT 2005
I have emailed this to Roland a while ago, but thus far no answers.
cc -O -ansi -Wno-system-headers -Dasm=__asm -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -I/usr/X11R6/include -I../../exports/include -I../../exports/include/freetype2 -I../../exports/include/freetype2/config -I../../exports/include/X11 -I../.. -I../../exports/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXRENDER -DXFREE86_FT2 -DINCLUDE_XPRINT_SUPPORT -c print.c
print.c:113: warning: no previous prototype for 'FinishPrinting'
print.c: In function `FinishPrinting':
print.c:129: warning: implicit declaration of function `XpuCompoundTextToXmb'
print.c:129: warning: nested extern declaration of `XpuCompoundTextToXmb'
print.c:129: warning: initialization makes pointer from integer without a cast
print.c:133: warning: implicit declaration of function `XpuFreeXmbString'
print.c:133: warning: nested extern declaration of `XpuFreeXmbString'
print.c: In function `DoPrint':
print.c:223: error: too many arguments to function `XpuGetResolution'
*** Error code 1
See attached patch to fix the prototype for FinishPrinting().
Why is xlogo, unlike other parts of the tree, insisting on using
/usr/X11R6/include for its header files instead of ../../exports/include?
Could somone please fix this? It has been broken for over two weeks now for
me.
--
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://ashemedai.deviantart.com/
http://www.tendra.org/ | http://www.in-nomine.org/
Everything comes to those who wait...
-------------- next part --------------
--- print.c.orig 2005-05-09 20:57:31.000000000 +0200
+++ print.c 2005-05-09 21:08:57.000000000 +0200
@@ -109,7 +109,8 @@
}
}
-void FinishPrinting(AppPrintData *p)
+static void
+FinishPrinting(AppPrintData *p)
{
char *scr;
More information about the xorg
mailing list