On Wed, Mar 30, 2011 at 5:50 AM, robert delius royar
<xemacs(a)frinabulax.org> wrote:
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
This must be my fault somehow. I admit, though, that I've been
staring at the original code, my patch, and the resulting code for
several minutes now without seeing what went wrong. Could you
possibly send me the output of the preprocessor for the entire
function?
Thanks,
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta