Heh, looks like Claude either used a C++ compiler or at least a C99 compiler (like GNU
C 3, which I also use...). Thanks, I've just applied your fix, which will be visible
in the next preview.
This ticket is now resolved.
[[EMAIL PROTECTED] - Thu Feb 20 18:57:35 2003]:
> Hi,
>
> for a compile with
>
> $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
> gcc version 2.95.3 20010315 (SuSE)
>
> I needed to change workmgr.c in a very minor way. I noticed, however, that
> README needs to be adjusted for the new bug report adress, etc.
>
> Thomas
>
> --- ctwm-3.7-alpha1-orig/workmgr.c Fri Jul 12 14:30:53 2002
> +++ ./workmgr.c Thu Feb 20 18:45:09 2003
> @@ -410,6 +410,7 @@
> unsigned long eventMask;
> IconMgr *iconmgr;
> Window cachew;
> + Window oldw, neww;
> unsigned long valuemask;
> TwmWindow *focuswindow;
> TwmWindow *last_twmWin;
> @@ -522,8 +523,8 @@
> oldws->iconmgr = Scr->iconmgr;
> Scr->iconmgr = newws->iconmgr;
>
> - Window oldw = vs->wsw->mswl [oldws->number]->w;
> - Window neww = vs->wsw->mswl [newws->number]->w;
> + oldw = vs->wsw->mswl [oldws->number]->w;
> + neww = vs->wsw->mswl [newws->number]->w;
> if (useBackgroundInfo) {
> if (oldws->image == None)
> XSetWindowBackground (dpy, oldw, oldws->backcp.back);