Mac OSX 10.4.3 system with gcc-4.01
Darwin 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005;
root:xnu-792.6.22.obj~2/RELEASE_PPC Power Macintosh powerpc
XEmacs 21.5-b23 "daikon" (+CVS-20051125) configured for
`powerpc-apple-darwin8.3.0'.
Note, I removed the ", )" at line 2343 of configure just to get the
configure to work.
Compiling with --with-xft=none still works.
Compiling with --with-xft=all, --with-xft=emacs, or without xft (i.e. no
--with-xft in configure command) fails.
If I compile configured --enable-union-type, I get a number of warnings
early on about pointers differing in signedness (in Xft-related files) and
then a failure with an error in src/objects-x.c (note the same warnings at
first). If I compile without the union-type for lisp objects, I do not get
the warnings, but I get the same error (note that the initiallizations that
do not produce a warning have NULL as the value for the stuct members
language and rfc3066). The variable 'name' is not declared. It is declared
at line 1248 of objects-x.c (as a FcChar8 type), but note that the scope for
that variable ends at line 1287, before the variable is referenced. name is
freed immediately before the end of that block, so moving the closing
bracket seems not the correct solution. I cannot figure why it would
compile for any other compiler/system.
gcc -c -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked
-Wpointer-arith -Wunused-parameter -g -Os -pipe -mcpu=7450 -mtune=7450 -mpim-altivec -Os
-pipe -mcpu=7450 -mtune=7450 -mpim-altivec -Demacs -I. -I/Users/royar/src/xemacs/src
-DHAVE_CONFIG_H -I/usr/X11R6/include/freetype2 -I/opt/local/include -I/usr/X11R6/include
objects-x.c
objects-x.c: In function 'x_initialize_font_instance':
objects-x.c:349: warning: pointer targets in passing argument 3 of
'XftTextExtents8' differ in signedness
objects-x.c: In function 'x_font_instance_truename':
objects-x.c:810: warning: pointer targets in passing argument 1 of 'strlen' differ
in signedness
objects-x.c: At top level:
objects-x.c:1127: warning: pointer targets in initialization differ in signedness
objects-x.c:1128: warning: pointer targets in initialization differ in signedness
objects-x.c:1129: warning: pointer targets in initialization differ in signedness
objects-x.c:1130: warning: pointer targets in initialization differ in signedness
objects-x.c:1131: warning: pointer targets in initialization differ in signedness
objects-x.c:1132: warning: pointer targets in initialization differ in signedness
objects-x.c:1133: warning: pointer targets in initialization differ in signedness
objects-x.c:1136: warning: pointer targets in initialization differ in signedness
objects-x.c:1137: warning: pointer targets in initialization differ in signedness
objects-x.c:1138: warning: pointer targets in initialization differ in signedness
objects-x.c:1139: warning: pointer targets in initialization differ in signedness
objects-x.c:1148: warning: pointer targets in initialization differ in signedness
objects-x.c:1151: warning: pointer targets in initialization differ in signedness
objects-x.c:1152: warning: pointer targets in initialization differ in signedness
objects-x.c: In function 'x_find_charset_font':
objects-x.c:1213: warning: pointer targets in initialization differ in signedness
objects-x.c:1225: warning: pointer targets in passing argument 1 of 'FcNameParse'
differ in signedness
objects-x.c:1226: warning: pointer targets in initialization differ in signedness
objects-x.c:1230: warning: pointer targets in initialization differ in signedness
objects-x.c:1232: warning: pointer targets in initialization differ in signedness
objects-x.c:1236: warning: pointer targets in initialization differ in signedness
objects-x.c:1252: warning: pointer targets in initialization differ in signedness
objects-x.c:1269: warning: pointer targets in initialization differ in signedness
objects-x.c:1283: warning: pointer targets in initialization differ in signedness
objects-x.c:1307: error: 'name' undeclared (first use in this function)
objects-x.c:1307: error: (Each undeclared identifier is reported only once
objects-x.c:1307: error: for each function it appears in.)
objects-x.c:1307: error: parse error before '}' token
objects-x.c:1353: error: parse error before '}' token
objects-x.c:1367: error: parse error before '}' token
objects-x.c:1399: error: parse error before '}' token
objects-x.c:1413: error: parse error before '}' token
make[1]: *** [objects-x.o] Error 1
make: *** [src] Error 2
--
Dr. Robert Delius Royar Associate Professor of English
Morehead State University Morehead, Kentucky
Making meaning one message at a time.