On Mon, 19 Dec 2005, stephen(a)xemacs.org wrote:
* XEmacs 21.5.24 "dandelion" is released.
"dandelion" is the twenty-fifth in the VEGETABLE series.
I get the following error building 21.5.24 on RH Linux.
gcc -c -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wshadow
-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g -I.
-I/home/jeff/downloads/xemacs-21.5.24/lwlib/../src -DHAVE_CONFIG_H -I/usr/X11R6/include
xlwmenu.c
xlwmenu.c: In function `make_drawing_gcs':
xlwmenu.c:2832: parse error before `cmap'
xlwmenu.c:2834: `cmap' undeclared (first use in this function)
xlwmenu.c:2834: (Each undeclared identifier is reported only once
xlwmenu.c:2834: for each function it appears in.)
The compiler was happier with the Colormap cmap declaration before the
call to visual_info_from_widget
xlwmenu.c:
int ignore;
visual_info_from_widget ((Widget) mw, &visual, &ignore);
Colormap cmap = mw->core.colormap;
I can provide the configure/build output if needed.
-jeff