XEmacs 21.5.24 "dandelion" is released.

Andrey Slusar anrays at gmail.com
Wed Dec 21 18:12:38 EST 2005


Wed, 21 Dec 2005 16:35:57 -0500, you wrote:

> On Mon, 19 Dec 2005, stephen at 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.)

  I'm posted patch, fixed this errors to xemacs-patches@

Index: lwlib/xlwmenu.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lwlib/xlwmenu.c,v
retrieving revision 1.38
diff -u -r1.38 xlwmenu.c
--- lwlib/xlwmenu.c	2005/11/26 11:45:59	1.38
+++ lwlib/xlwmenu.c	2005/12/20 13:04:56
@@ -2828,8 +2828,9 @@
 	  XColor xcolor;
 	  Visual *visual;
 	  int ignore;
+	  Colormap cmap;
 	  visual_info_from_widget ((Widget) mw, &visual, &ignore);
-	  Colormap cmap = mw->core.colormap;
+	  cmap = mw->core.colormap;
 	  xcolor.pixel = mw->core.background_pixel;
 	  XQueryColor (dpy, cmap, &xcolor);
 	  xcolor.red   = (xcolor.red   * 17) / 20;

-- 
Regards,
Andrey.




More information about the XEmacs-Beta mailing list