> On Wed, May 14, 2014 at 09:52:04AM +0100 I heard the voice of
> Aaron Sloman, and lo! it spake thus:
> >
> > and finally:
> > ......
> > mwmhints.c: In function `GetMWMHints':
> > mwmhints.c:60: parse error before `int'
> > mwmhints.c:67: `success' undeclared (first use in this function)
> [...]
[MDF]
> Probably complaining about the intermingled declarations. Try
> attached patch; should let it get through there. It's interesting
> that -std=c89 (which I did run) didn't catch those.
[AS]
> > I'm surprised it managed to get that far as everything on this
> > machine is ancient. The newest files in /usr/bin are dated 2007
> >
> > I think I'll abandon Solaris. Maybe someone with a newer version
> > (someone from Oracle?) will try: the signs are fairly promising.
[MDF]
> It would be good to keep working it, if you've got the time.
Not much time, but I installed your patch and re-tried 'make ctwm'. After a
couple
of false starts caused by my previous tinkering 'make ctwm' produced:
-rwxr-xr-x 1 387364 May 14 14:43 ctwm
and running it produced:
% ./ctwm
./ctwm: another window manager is already running on screen 0?
./ctwm: unable to find any unmanaged screens
So it looks as if it works.
Congratulations!
It seems you somehow managed to work out that just moving a few lines
of declarations in mwmhints.c would fix it. Magic.
I haven't tried killing my local ctwm and running the solaris version remotely
as I have too many other things to catch up with just now. I may get a chance
to try it later.
Aaron