After a recent change
* dired.c (Ffile_attributes): Use listn instead of building an array
to pass to Flist. GC protect the mode string.
src/dired.c fails to compile with the following error:
gcc-4.2 -c -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts
-Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement
-Wunused-parameter -g -O3 -fno-strict-aliasing -arch i386
-I/opt/local/include -Demacs -I. -I/Users/royar/src/xemacs-hg/src
-DHAVE_CONFIG_H -I/opt/X11/include -I/opt/X11/include/freetype2
-I/opt/local/include -I/opt/X11/include dired.c
dired.c: In function 'Ffile_attributes':
dired.c:918: error: expected expression before '{' token
dired.c:851: warning: unused variable 'gid'
make[1]: *** [dired.o] Error 1
make: *** [src] Error 2
The offending lines appear to be 910-915
#else
size = make_integer (s.st_size);
#endif
filemodestring (&s, modes);
modestring = make_string ((Ibyte *) modes, 10),
which the preprocessor converts to
size = (((s.st_size) <= ((long) ((1UL << (((4 * 8) - 1) - 1)) -1UL))
&& (s.st_size) >= (-(((long) ((1UL << (((4 * 8) - 1) - 1)) -1UL))) - 1))
? make_int (s.st_size) : make_bignum (s.st_size));
filemodestring (&s, modes);
modestring = make_string ((Ibyte *) modes, 10),
with-bignum is defiined and the gmp headers are being pulled in. I am
using gmp 5.0.1 installed via macports.
Here is my configure command:
./configure --with-mule \
--with-scrollbars=lucid --with-widgets=athena
--with-athena=xaw --with-dialogs=athena
--prefix=${ParentPath} --with-png
--with-jpeg --with-tiff
--with-xim=no --enable-sound=none,esd
--disable-xfs
--enable-dump-in-exec
--with-compiler=gcc-4.2
--disable-kkcc --without-ipv6-cname
--without-ldap
--x-includes=/opt/X11/include
--x-libraries=/opt/X11/lib
--with-xft=emacs,gauges,tabs
--with-union-type --with-bignum=gmp
--with-dynamic --enable-optimization
--with-modules --enable-external-widget
--without-error-checking
--
rdr
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta